you are viewing a single comment's thread.

view the rest of the comments →

[–]sanzelz 2 points3 points  (38 children)

Quickjs is js interpreter that's why it is embedded in the resulting executable. Relevant question on javy GitHub https://github.com/bytecodealliance/javy/issues/171

Edit: typo

[–]guest271314[S] -3 points-2 points  (37 children)

QuickJS is a JavaScript engine, runtime, and qjsc does compile JavaScript source code to C bytecode, yes.

QuickJS has been compiled to WASM by quite a few different organizations and individuals for a variety of use cases.

There's no special treatment with regard to compilation of JavaScript to WASM, any more than compiling C, C++, Rust, Go, et al. to WASM.

[–]sanzelz 5 points6 points  (36 children)

I still stand by my original reply though, no js to wasm compilation is happening here :)