For creating components in other languages, see the Cargo Component project for Rust and Wit Bindgen for various guest bindgen helpers. To directly ca

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-11-10 06:00:05

For creating components in other languages, see the Cargo Component project for Rust and Wit Bindgen for various guest bindgen helpers.

To directly call into the transpilation in Rust, the bindgen used in Jco is also available on crates.io as js-component-bindgen.

For Wasm components that implement the WASI Command world, a jco run utility is provided to run these applications in Node.js.

Using the preview2-shim WASI implementation, full access to the underlying system primitives is provided, including filesystem and environment variable permissions.

Wasmtime generally provides the most performant implementation for executing command and proxy worlds to use. These implementations are rather for when JS virtualization is required or the most convenient approach.

"WIT Component" Component embedding tool, for embedding component types into core binaries, as an advanced use case of component generation.

Leave a Comment