frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Miralis – a RISC-V virtual firmware monitor

https://github.com/CharlyCst/miralis
4•charlycst•1y ago
Miralis is a RISC-V firmware that virtualizes RISC-V firmware. In other words, it runs firmware in user-space (M-mode software in U-mode).

The fact that this is even possible is interesting: indeed, not all ISAs are virtualizable, and the same applies for their firmware mode. It all boils down to the virtualization requirements [1], which is a great read if you haven't come across it yet. Arm's EL3 cannot be virtualized, for instance, because some instructions, such as `cpsid`, are sensitive but do not trap (`cpsid` is a nop in user-space).

If you have a VisionFive 2 or a HiFive Premier P550, you can try it out, the instructions are in the documentation [2, 3]. Of course, it runs on QEMU too.

As Miralis is a research project, we have also been using it as a vehicle to explore other research ideas, such as automated verification of hypervisors [4]. For instance, we verified instruction emulation by comparing Miralis' implementation with the reference RISC-V executable specification [5], which we translated to Rust.

It has been fun working on Miralis, I hope you'll find it interesting too!

[1]: https://dl.acm.org/doi/pdf/10.1145/361011.361073

[2]: https://miralis-firmware.github.io/docs/platforms/visionfive...

[3]: https://miralis-firmware.github.io/docs/platforms/premierp55...

[4]: https://charlycst.github.io/papers/lightweight-hypervisor-ve...

[5]: https://github.com/riscv/sail-riscv

Tencent Releases and Open-Sources Tencent Hy4 Preview

https://www.tencent.com/tencent-releases-and-open-sources-tencent-hy4-preview/
1•shenli3514•2m ago•0 comments

AI and the Commons

https://creativecommons.org/ai-and-the-commons/
1•arto•5m ago•0 comments

How I made Rustdoc 33% faster in one week

https://noahlev.org/blog/2026/08/27/making-rustdoc-faster/
2•camelid•5m ago•1 comments

The new Go JSON API: twice as fast, or 1.5x slower?

https://lemire.me/blog/2026/08/29/the-new-go-json-api-twice-as-fast-or-1-5x-slower/
1•ingve•6m ago•0 comments

Domain-Driven Agents

https://coldtake.dev/blog/domain-driven-agents
1•AlarQ•7m ago•0 comments

Subs, the cloud native agent harness

https://substructure.ai/
1•handfuloflight•7m ago•0 comments

Signal Cartel a Home for Peaceful Explorers

https://signalcartel.org/
1•Bluestein•9m ago•0 comments

The elementary school pickup incident and the road ahead

https://shitposting.ai/pickup-incident/
1•mkeeter•10m ago•0 comments

Beyond Booleans

https://overreacted.io/beyond-booleans/
2•m-hodges•11m ago•0 comments

There oughta be a Lego marble run

https://there.oughta.be/a/lego-marble-run
1•_Microft•13m ago•0 comments

Should the press "run toward" AI?

https://www.cjr.org/analysis/should-the-press-run-toward-ai-tom-rosenstiel-new-book-next-journali...
1•thm•15m ago•0 comments

All-in-one AI job search platform, resume to offer

https://rezoom.io/
1•mynameisgoodi•15m ago•0 comments

Eight Things to Know about Large Language Models(2023)

https://arxiv.org/abs/2304.00612
1•turingbook•18m ago•1 comments

A safe MySQL upgrade that wasn't so safe

https://blog.elis.cc/articles/a-safe-mysql-upgrade-that-wasnt-so-safe/
2•el1s7•19m ago•0 comments

One Model, Many Views: Type-Safe Transforms with Valibot and Doba

https://valibot.dev/blog/same-data-different-shapes/
1•karol-broda•22m ago•1 comments

Polyend Keys – A Mechanical QWERTY Keyboard for Musicians

https://www.synthtopia.com/content/2026/08/27/polyend-keys-a-mechanical-qwerty-keyboard-for-music...
1•oidar•23m ago•0 comments

Warp builds self-improving agents on Claude

https://claude.com/blog/how-warp-builds-self-improving-agents-on-claude
11•shenli3514•25m ago•6 comments

Show HN: Moe-Direct – MoE Models far larger than your RAM, on a consumer desktop

https://github.com/tmxkzm1925-max/MoE-Direct
1•tmxkzm1925-max•28m ago•0 comments

WinUI development is now happening on GitHub

https://github.com/microsoft/microsoft-ui-xaml/discussions/10700
1•neversaydie•31m ago•0 comments

PGTerm: Postgres Terminal

https://pgterm.dev/
1•handfuloflight•32m ago•0 comments

Functional State Machines in Rust: Typestate and Newtype Patterns

https://dl.acm.org/doi/10.1145/3830438.3830958
1•matt_d•34m ago•0 comments

Apple takes first immersive baseball swings from the on-deck circle

https://sixcolors.com/post/2026/08/apple-takes-first-immersive-baseball-swings-from-the-on-deck-c...
2•MBCook•38m ago•0 comments

Thoughts and Observations on Apple's First Immersive MLB Broadcast

https://daringfireball.net/2026/08/thoughts_and_observations_apple_immersive_mlb_broadcast
1•MBCook•40m ago•0 comments

Zero-sum thinking will fuel resentment and scarcity

https://www.ft.com/content/492134e9-49eb-4f13-b70a-b2b595ed0e2a
2•bookofjoe•40m ago•7 comments

Breaking persistent undo shows Neovim can't be trusted

https://infosec.exchange/@david_chisnall/117171776562702259
2•hoorible•41m ago•0 comments

An infinite and interactive AI generated live stream of slop

https://skunkworks.levels.io/infinite-slop/
3•smusamashah•48m ago•0 comments

DHS is using obscure law to snoop on journalists, non-profits, unions

https://www.theguardian.com/us-news/2026/aug/29/trump-dhs-1509-summons-records-journalists-nonpro...
53•firefax•50m ago•4 comments

From single call to agents: five new Claude capabilities available in MS Foundry

https://devblogs.microsoft.com/foundry/five-new-claude-capabilities-now-available-in-foundry/
2•ibobev•53m ago•0 comments

Wrapping a callable in a lambda that just calls it with the same parameters

https://devblogs.microsoft.com/oldnewthing/20260819-00/?p=112624
1•ibobev•54m ago•0 comments

The Internet Is Kind of a Predatory Cesspit Now

https://www.stephendiehl.com/posts/internet_predatory_cesspit/
143•ibobev•54m ago•75 comments