4 ms·
nice, "run JS without (browser) runtime" is coming. perforr, jaws, or another project will eventually succeed.
by samuelstros 2y ago
nice, "run JS without (browser) runtime" is coming. perforr, jaws, or another project will eventually succeed.
- jahewson 2y agobun?
- thrw42A8N 2y agoBun is a runtime.. If you're referring to the fact it can produce a single binary, Node.js can do that too.
- drogus 2y agoYeah, bun will still include V8 in the generated binary
- thrw42A8N 2y agoBun will include the Bun runtime with JavaScriptCore, Node.js will include the Node.js runtime with V8.
- IggleSniggle 2y agoBun uses JavaScriptCore as its runtime, not V8
- codesnik 2y agoalso https://docs.docker.com/desktop/features/wasm/ https://docs.docker.com/desktop/features/wasm/
- philipwhiuk 2y agoYou mean like Node?
- usrusr 2y agoI guess "yes" wouldn't be an incorrect answer, but a more nuanced look might want to consider that node does actually contain the js runtime of a browser, just minus all the rest of that browser. A wasm runtime can be far more lightweight than node, not only because node itself is a wasm runtime, plus a lot of other things. Wasm could (or does, already?) occupy a sweet spot where platform independent extensibility is desired, but where that is not enough of a core feature to make inclusion of a heavier runtime advisable. Kind of like how Lua has its place, but with more focus on near-native speed and less focus on ad-hoc programming (aka scripting).
- nilslice 2y agocheck out https://extism.org https://extism.org!