Embedding JavaScript source code in a QuickJS interpreter module vs. ahead-of-time compilation #1298
Replies: 5 comments 24 replies
|
If I understand correctly you want to ship a .wasm module that contains both the QuickJS interpreter and the Javascript source and runs it? How does js2wasm fit into this picture? When compiling .js with js2wasm the resulting .wasm module neither will need to ship the .js nor QuickJS. |
|
The issue title is confusing to me and reads unrelated to this repo. Based on our discussion I would suggest to rename it from: Embed JavaScript in qjs.c before compilation to WASM with WASI-SDK To: Embedding JavaScript in a QuickJS interpreter module vs. ahead-of-time compilation |
|
I got |
|
You're free to express your opinion, but I don't want this project to be part of an article pitting open source projects against each other titled "Software nation-state: Ultra-nationalists and neo-liberals". This is hurtful to the goals of this project and I have to draw a line here and close this issue since it was offtopic anyways and it's getting out of hand. |

Uh oh!
There was an error while loading. Please reload this page.
See quickjs-ng/quickjs#1527.
#!/usr/bin/env -S wasmtime /home/user/native-messaging-webassembly/qjs-wasi-opt.wasmAll reactions