uvm32

Infrastructure

embeddable vm sandbox

SHOW HN2025

196points
12comments
#337of 3,837 in 2025
Top 9%of 2025 by points

How HN took it

CuriousMostly questions and neutral comments

2 positive, 3 neutral or asking, 0 mixed, 1 critical, out of 6 comments about the project. Thread score +0.19.

Design: 2 for, 0 againstPerformance: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Compact, clean code

    From 2 comments
    • Really neat clean code! I like the single C file, but Docker if you want all the examples approach, that's really convenient for embedded. Test coverage looks good as well, be…
      snops on HN
    • I just had a look at the code and it is indeed very compact. I haven't compiled or used it. Looks like RISC-V 32-bit integer and multiply and atomic instr extension. Floating…
      psanchez on HN
  • Good test coverage

    From 1 comment
    • Really neat clean code! I like the single C file, but Docker if you want all the examples approach, that's really convenient for embedded. Test coverage looks good as well, be…
      snops on HN

Objections

  • RISC-V decoding in software may be slow compared to hardware

    From 1 comment
    • See https://opensource.googleblog.com/2025/11/secure-by-design-firmware-development-with-wasefire.html This looks like it has a smaller code footprint at least. I'm not sure…
      IshKebab on HN

Requests

  • Memory-mapped IO simulation for testing drivers

    From 1 comment
    • Interesting timing - been looking for exactly this for embedded firmware testing. Most alternatives are either too heavy (full emulation) or too fragile (custom interpreters).…
      rokoss21 on HN

Questions

  • How does it compare to WASM and libriscv

    From 2 comments
    • 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…
      idle_zealot on HN
    • I did a brief comparison a while back, specifically WASM vs libriscv for. I decided to go with WASM, primarily because it was much more closely designed for this sort of thing,…
      apitman on HN

Alternatives named

  • WASM / WAMR

    From 3 comments
    • I did a brief comparison a while back, specifically WASM vs libriscv for. I decided to go with WASM, primarily because it was much more closely designed for this sort of thing,…
      apitman on HN
    • Really neat clean code! I like the single C file, but Docker if you want all the examples approach, that's really convenient for embedded. Test coverage looks good as well, be…
      snops on HN
    • Wasm-mvp is very simple, especially if you drop the floating point instructions. But WAMR supports a lot of extensions -…
      jamii on HN
  • libriscv

    From 2 comments
    • I did a brief comparison a while back, specifically WASM vs libriscv for. I decided to go with WASM, primarily because it was much more closely designed for this sort of thing,…
      apitman on HN
    • libriscv looks amazing but its's much larger. It says "Less than 40kB total memory usage". My first version (unpublished) of uvm32 was called uvm80 and emulated a Zilog Z80 CPU.…
      trj on HN
  • Wasefire

    From 1 comment
    • See https://opensource.googleblog.com/2025/11/secure-by-design-firmware-development-with-wasefire.html This looks like it has a smaller code footprint at least. I'm not sure…
      IshKebab on HN
  • mini-rv32ima

    From 1 comment
    • I just had a look at the code and it is indeed very compact. I haven't compiled or used it. Looks like RISC-V 32-bit integer and multiply and atomic instr extension. Floating…
      psanchez on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/46249538)