3 ms·
Could webassembly be also used for this?
by zbendefy 6y ago
Could webassembly be also used for this?
- AstralStorm 6y agoThat's not as portable as you need an interpreter.
- iFreilicht 6y agoDepends on what you mean by “using”. It is conceivably possible to compile a webassembly interpreter like wac[1] with cosmopolitan, which would then run on all OSes and bare metal, yes. [1]: https://github.com/kanaka/wac https://github.com/kanaka/wac
- deleted 6y ago[deleted]
- _roqj 6y agoYes it can! Wasm3 is the fastest WebAssembly interpreter. Since they recently adopted Cosmopolitan it became the most universal one too. Check out the 150kb APE binary they've got on the release page. https://github.com/wasm3/wasm3/releases/tag/v0.4.8 https://github.com/wasm3/wasm3/releases/tag/v0.4.8