Show HN: Vpod – Tiny Linux sandbox running in WASM

(github.com)

10 points | by mavdol04 20 hours ago

2 comments

  • clapthewind 2 hours 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 1 hour 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 13 hours 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 6 hours 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.