3 ms·
It could be cool if there was a WASM container built in Rust that could run in this OS. I don't really have a sense of how complicated a WASM container is, thou
by ianbicking 3y ago
It could be cool if there was a WASM container built in Rust that could run in this OS. I don't really have a sense of how complicated a WASM container is, though it seems non-trivial to even decide what such a thing is, so it would be nice not to treat the WASM container itself as the OS (i.e., more room to safely experiment). WASM also seems like it dodges the ABI issue by being more explicitly about composition instead of shared binary data structures.
- gpm 3y agoWhen you say wasm container, you mean something like wasmtime that provides a non-browser wasm runtime? https://github.com/bytecodealliance/wasmtime https://github.com/bytecodealliance/wasmtime
- ianbicking 3y agoYeah, just that sort of thing. I mean, heck, can you put #!wasmtime at the top of a wasm file? Would such a file literally run right now (assuming #! is supported, and wasmtime doesn't hit any MotorOS Rust limitations)?
- ianbicking 3y agoSerendipitously I see this article about WASM and how it has all these nice properties as a runtime abstraction: https://wingolog.org/archives/2024/01/08/missing-the-point-of-webassembly https://wingolog.org/archives/2024/01/08/missing-the-point-o...