I've been compiling a TypeScript app to WASM and had to learn some terminology, so I figured this would be useful for everyone doing the same.
jco == Compile JS dependencies/libraries (components) to Wasm. jco is faster than Javy. It’s used for apps that need better runtime performance and low latency.
Javy == Compile JS file(s) to Wasm. Javy is slower than jco in the long run.
Rollup (npm package) == newest compiler (it’s like jco and javy)
Wasm Edge == Functions to run compile your code to so it can run anywhere (it’s a runtime)
Wasm Cloud == wasmCloud does the orchestration of your compiled Wasm, but you still need to do the compilation first using Jco or Javy.
Wasm Interface Type (WIT) == Takes your existing interfaces, imports, exports, and types, and compiles them with your binary so all dependencies exist.
Top comments (0)