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

Tell HN: I picked up knitting while waiting for my AI agent to complete

1•amelius•1m ago•0 comments

Susanna Clarke: in defence of fantasy fiction

https://observer.co.uk/culture/books/article/susanna-clarke-in-defence-of-fantasy-fiction
1•paulpauper•1m ago•0 comments

Show HN: Correct Hooks – Easy webhook auth with asymmetric signatures

https://github.com/handlewithcarecollective/correct-hooks
1•pdiffles•1m ago•0 comments

Modernizing ArXiv Technology: Updates on the ArXiv-CE Project

https://blog.arxiv.org/2026/10/17/modernizing-arxiv-technology-updates-on-the-arxiv-ce-project/
1•the-mitr•1m ago•0 comments

Chartbook 478 Money and Empire – For Perry Mehrling

https://adamtooze.substack.com/p/chartbook-478-money-and-empire-for
1•paulpauper•1m ago•0 comments

Building Fast Filesystems for VMs

https://modal.com/blog/vm-sandbox-filesystem
1•birdculture•4m ago•0 comments

'I'm on a War Footing': Terry Tao and the Crisis in Math

https://www.nytimes.com/2026/10/16/us/math-ai-terence-tao.html
2•ent101•5m ago•0 comments

Show HN: HedgePick – nine AI agents that argue against your stock thesis

https://hedgepick.com/
1•joegahagan•7m ago•0 comments

Show HN: Serving static assets with 4.5x higher throughput using eBPF

https://github.com/lerboe/beeper
1•lbrndnr•7m ago•0 comments

Show HN: We bought terafabs.si so Elon couldn't and made an arcade game

https://www.terafabs.si/
1•KanishkIndia•8m ago•0 comments

Someone Behind the Software

https://karrisaarinen.com/posts/someone-behind-the-software/
3•tosh•8m ago•0 comments

Muse, dots, Instinct, and the question every agent will be asked

https://twitter.com/worldnetwork/status/2105989118287134752
1•gmays•14m ago•0 comments

Would you switch credit cards for your rewards on your AI spend?

1•mhutchw•16m ago•0 comments

Vertick – built with DominoKit and agentic AI

https://dominokit.com/vertick/
1•vegegoku•17m ago•0 comments

The Intel 8087 chip: floating-point addition and subtraction

https://www.righto.com/2026/10/8087-addition-subtraction-microcode.html
3•pwg•20m ago•0 comments

Show HN: A GitHub contribution for my newborn's feedings, turned into SaaS

https://milo.baby
2•kilianciuffolo•21m ago•2 comments

PhoneBot

https://arxiv.org/abs/2610.08737
1•bookofjoe•21m ago•0 comments

Goalia, the Robotic Goalie – Banting Robotics

https://www.banting7200.com/blog/goalia-the-robotic-goalie
1•evo_9•21m ago•0 comments

Show HN: Nanoconsole SGX, a $2 DIY game console from a 15cts microcontroller

https://nanoconsole.codeberg.page/
1•makapuf•22m ago•0 comments

Kaliningrad Oblast

https://en.wikipedia.org/wiki/Kaliningrad_Oblast
1•simonebrunozzi•23m ago•0 comments

Probably the least productive container you'll ever run

https://github.com/ahmubashshir/unemployd/
2•bdeshi•28m ago•0 comments

SPA vs. Hypermedia: A Collaborative Kanban Board Measured Against Planka

https://zweiundeins.gmbh/en/blog/spa-vs-hypermedia-a-collaborative-kanban-board-measured-against-...
2•ciconia•28m ago•0 comments

The Problem with C++ Safety: Why "It Works" Isn't Good Enough

https://www.modernescpp.com/index.php/cpp-and-memory-safety-part-1/
2•jandeboevrie•29m ago•0 comments

Show HN: Wordchute – a word game where every word changes the board

https://wordchute.com
4•codercolin•30m ago•0 comments

Side-Effect Decoherence

https://t3.at/blog/2025-08-28-side-effect-decoherence/
2•andsoitis•31m ago•0 comments

Torvalds use Claude for bottleneck fix, but race discovered

https://thenewstack.io/torvalds-claude-code-kernel/
7•PaulDavisThe1st•32m ago•0 comments

Anarchon – Leaderless cron for multi-instance Node.js services

https://github.com/aristoteliss/anarchon
2•aristoteliss•32m ago•0 comments

Replacing an LLM judge with a deterministic model: 9.2x faster, 4.5x cheaper

https://medium.com/@gbenga-awodokun/building-clinical-ai-agents-with-langchain-and-jev-decision-h...
2•newadays•33m ago•0 comments

Trials and Tribulations of Native Lua Compilation

https://samyeyo.github.io/clx/blog.html
2•_samt_•34m ago•1 comments

Show HN: Pi-cowboy – use Codex, Claude Code, OpenCode as subagents

https://github.com/electric-dragon-80000v/pi-cowboy
2•suoloordi•35m ago•0 comments