Skip to content

Commit d7569fa

Browse files
ericgregoryvados-cosmonic
authored andcommitted
Update _posts/2026-03-19-five-ways-of-looking-at-jco-part-1.md
Co-authored-by: Victor Adossi <123968127+vados-cosmonic@users.noreply.github.com>
1 parent 1662b7b commit d7569fa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

_posts/2026-03-19-five-ways-of-looking-at-jco-part-1.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ At the base is [**StarlingMonkey**](https://github.com/bytecodealliance/Starling
2929

3030
### componentize-js
3131

32-
[**componentize-js**](https://github.com/bytecodealliance/ComponentizeJS) takes your JavaScript source code and bundles it into StarlingMonkey to produce a proper WebAssembly component. Componentize-js runs the binary through [**Wizer**](https://github.com/bytecodealliance/wizer), a pre-initialization tool. At build time, Wizer executes the component's startup code (and your JS code at global scope) and snapshots the resulting state. The initialization cost is paid once, at build time, not on every instantiation.
32+
[**componentize-js**](https://github.com/bytecodealliance/ComponentizeJS) takes your JavaScript source code and bundles it into StarlingMonkey to produce a proper WebAssembly component.
33+
34+
Componentize-js runs the binary through [**Wizer**](https://github.com/bytecodealliance/wizer), a pre-initialization tool. At build time, Wizer executes the component's startup code (and your JS code at global scope) and snapshots the resulting state. The initialization cost is paid once, at build time, not on every instantiation.
3335

3436
Componentize-js is also in the process of being rewritten to use [`wit-dylib`](https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wit-dylib) — a relatively new tool Alex Crichton added to `wasm-tools` that significantly simplifies the process of targeting the Component Model from an interpreted language. This rewrite will eliminate a somewhat circular dependency that currently exists in the build (js-component-bindgen, written in Rust, is currently consumed by componentize-js via transpilation, and is also depended on by componentize-js).
3537

0 commit comments

Comments
 (0)