NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Show HN: Vpod – Tiny Linux sandbox running in WASM (github.com)
spankalee 24 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 16 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.
clapthewind 12 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 12 hours 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?
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 23:44:33 GMT+0000 (Coordinated Universal Time) with Vercel.