maximecb/uvm
View on GitHub ↗ ★ 625 Rust
Fun, portable, minimalistic virtual machine.
7 mentions on Hacker News by 3 people: 0 stories, 7 comments · first 2023-02-25 · latest 2023-02-28
20082026
-
…of days ago a fantastic new 64-bit vm went by here on HN and I'm going to use that going forward. https://github.com/maximecb/uvm https://news.ycombinator.com/item?id=34936729
comment by carapace · 2023-02-28 · in Out of the Tar Pit (2006) [pdf] -
…you do your own text rendering on a blue background and you add simple primitives for 2D graphics. https://github.com/maximecb/uvm/issues/7
comment by maxime_cb · 2023-02-26 · in Building a Minimalistic Virtual Machine -
…seem to be a doc yet?) - it gives a fairly decent picture of what kind of VM we're talking about: https://github.com/maximecb/uvm/blob/main/vm/src/vm.rs One thing I didn't quite grok there. It seems that the operand stack is also used…
comment by int_19h · 2023-02-26 · in Building a Minimalistic Virtual Machine -
…it makes it easy to have multiple different update events running at different rates, for example: https://github.com/maximecb/uvm/blob/main/ncc/examples/attac...
comment by maxime_cb · 2023-02-25 · in Building a Minimalistic Virtual Machine -
…on such an endeavor at times. I'm happy to discuss anything in the GitHub discussions for UVM: https://github.com/maximecb/uvm/discussions > Very interesting choice, I did away with such assumptions and ran the other way, my system might…
comment by maxime_cb · 2023-02-25 · in Building a Minimalistic Virtual Machine -
I go into some of the design decisions I made to make JIT optimizations easier here: https://github.com/maximecb/uvm/blob/main/doc/design.md
comment by maxime_cb · 2023-02-25 · in Building a Minimalistic Virtual Machine -
…that's already usable to write simple programs. See my little snake game for a fun toy example: https://github.com/maximecb/uvm/blob/main/ncc/examples/snake... Assembly syntax example: https://github.com/maximecb/uvm/blob/main/vm/examples/f…
comment by maxime_cb · 2023-02-25 · in Building a Minimalistic Virtual Machine