Show HN: Tiny VM sandbox in C with apps in Rust, C and Zig

(github.com)

47 points | by trj 2 hours ago

2 comments

  • idle_zealot 1 hour ago
    I suppose this is in the same realm as what some people are trying to do with WASM, creating a common execution environment? This is built on RISC-V instead though. I wish I knew more about the limitations/capabilities of each approach, but in any case a future where applications are built for a common VM seems like something we've been building to for a while, the modern web being the closest we've come.
    • IshKebab 15 minutes ago
      See https://opensource.googleblog.com/2025/11/secure-by-design-f...

      This looks like it has a smaller code footprint at least. I'm not sure RISC-V is a very good target for this sort of thing. E.g. decoding the immediates in software is going to be very slow, whereas in hardware it's fast.

      But on the other hand it is a stable target and can be configured to be a lot simpler than WASM.

  • trj 1 hour ago