News for hackers. Stuff that matters.
Re:Actually Portable Executables by zbendefy on Sunday February 28, 2021 @05:54AM (#26292405)
Could webassembly be also used for this?
Re:Actually Portable Executables by _roqj on Sunday February 28, 2021 @07:06AM (#26292800)
Yes 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
Re:Actually Portable Executables by iFreilicht on Sunday February 28, 2021 @06:25AM (#26292576)
Depends 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

Re:Actually Portable Executables by AstralStorm on Sunday February 28, 2021 @06:12AM (#26292511)
That's not as portable as you need an interpreter.