Show HN: Vpod – Tiny Linux sandbox running in WASM

(github.com)

10 points | by mavdol04 a day ago ago

4 comments

  • clapthewind 4 hours ago ago

    So we can run this on a browser? a demo on the github page would be great. combine it with an extension to support networking, and you have a winner.

    • mavdol04 4 hours ago ago

      It doesn't have browser support yet because it's WASI-based, so there are a few more steps compared to Emscripten (two different ways to build for WebAssembly). But networking is supposed to work, did you have trouble with it?

  • spankalee 16 hours ago ago

    Do you think that once GCC gets a working Wasm backend[1], that it might be possible to build Linux for Wasm directly and skip the RISC-V VM?

    [1]: https://www.phoronix.com/news/GCC-Steering-WebAssembly

    • mavdol04 8 hours ago ago

      With RISC‑V emulation we get the virtual hardware components we need to boot Linux like MMU, registers etc. So a GCC WASM backend could definitely help, but I'm not sure it could replace the whole emulation layer.