emsdk built on emsdk #16329
Replies: 2 comments 2 replies
-
This has come up before, and its that same questions as "can I run tool X as a wasm binary".. where X could be clang or xcode or any developer tool (vim, emacs, etc). @kripken is a big fan if pioneering this approach, but its seems little "everything looks like a nail" to me. If we are going to start running command line tools based on wasm... I would expect other, simpler, command line projects to lead they way rather than a complex, multi-binary, multi-process, multi-language, filesystem-heavy project like emscripten. |
Beta Was this translation helpful? Give feedback.
-
See https://github.com/jprendes/emception for the latest effort there - that even runs in a browser, which is harder than in Node.js. So definitely doable. I do think this is very useful to do for Node.js and wasm VMs, for portability. However, there are issues to investigate, like #15727, and also, to be fast the VM would need pthreads + EH support, which not all Node VMs do atm, so it might be too early. |
Beta Was this translation helpful? Give feedback.
-
This is kinda ridiculous question and I don't know if it has been done.
I was looking the Apple arm64 issue the other day and I had a thought... Would be possible to build all dependencies of emsdk in emsdk so they could be run by some WASM/JS engine so one could access the Emscripten tools from any platform with a working WASM/JS runner?
Beta Was this translation helpful? Give feedback.
All reactions