Bytecode Alliance Component Model ツールチェーン(wasm-tools / wit-bindgen / jco / componentize-py / componentize-js)の仕様と役割
wasm-tools: WebAssembly Core モジュールおよび Component バイナリの低レベル操作を担う Rust 製 CLI / クレート群であり、仕様検証(validate)、WAT/Wasm 相互変換(parse/print)、WIT 埋め込みとコンポーネント生成(component embed/component new)、およびコンポーネントからの WIT 抽出(component wit)を提供する。wit-bindgen:.witワールド定義から、Rust・C/C++・Go・C# 等の静的言語向けゲストバインディングコードを生成し、Canonical ABI に準拠した型変換とメモリ受け渡し(cabi_realloc等)を自動化するコードジェネレータである。jco(JavaScript Component Tools): 完成した Wasm コンポーネントをブラウザおよび Node.js / Deno 等の JS ランタイムで実行可能な標準 ES モジュール+Core Wasm 群へ変換するトランスパイラ(jco transpile)であり、CLI 実行や WASI シム提供も備える。componentize-py: Python アプリケーションコード、WIT バインディング、および Wasm 化された CPython ランタイムを束ね、単一の Wasm コンポーネント(.wasm)としてパッケージングするツールである。componentize-js(ComponentizeJS): JavaScript アプリケーションコードと WIT インターフェース定義を、SpiderMonkey ベースの Wasm JS ランタイムである StarlingMonkey と結合して単一の Wasm コンポーネントへ変換するツールである。
関連概念
- implementsComponent Model 多言語ツールチェーンの責務分担(wasm-tools / wit-bindgen / jco / componentize-py / componentize-js) — バイナリ基盤・静的バインディング・動的言語パッケージング・JS ホスト展開の 4 層責務分担の具体仕様。
Primary Sources
- Tier 1 Bytecode Alliance Component Model Toolchain Documentation
Language Support & Tools Reference↗ - Tier 1 StarlingMonkey: SpiderMonkey-based JS Runtime for Wasm Components
ComponentizeJS Integration↗
Relations
Outgoing
- implements Component Model 多言語ツールチェーンの責務分担(wasm-tools / wit-bindgen / jco / componentize-py / componentize-js)
- required_by ComponentizeJS 0.24.0 / 0.25.0 における NightMonkey 対応と splicer 最適化
- required_by jco v1.43.0 における Node.js WASI Preview 3 コマンド実行・同期高速パスおよび WASI 0.1/0.3 シム整備
- required_by wasm-tools v1.264.0 における Component Model 64-bit メモリ(cm64)初期サポート
- required_by wit-bindgen v0.64.0 における WASIp3 タスク固有情報刷新と Rust・Go・C# 非同期/リソース修正
- supports Component Model 多言語ツールチェーンの責務分担(wasm-tools / wit-bindgen / jco / componentize-py / componentize-js)
Backlinks
- ComponentizeJS 0.24.0 / 0.25.0 における NightMonkey 対応と splicer 最適化 depends_on
- jco v1.43.0 における Node.js WASI Preview 3 コマンド実行・同期高速パスおよび WASI 0.1/0.3 シム整備 depends_on
- wasm-tools v1.264.0 における Component Model 64-bit メモリ(cm64)初期サポート depends_on
- wit-bindgen v0.64.0 における WASIp3 タスク固有情報刷新と Rust・Go・C# 非同期/リソース修正 depends_on
- Component Model 多言語ツールチェーンの責務分担(wasm-tools / wit-bindgen / jco / componentize-py / componentize-js) evidenced_by