frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

https://github.com/CharlyCst/miralis
4•charlycst•11mo 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

Cigna to quit health insurance exchanges

https://www.modernhealthcare.com/insurance/mh-cigna-aca-exchanges-2027/
1•brandonb•1m ago•0 comments

Mechanochemical synthesis of pincer nanotraps for efficient rhodium recovery

https://www.nature.com/articles/s41467-026-72569-4
1•bookofjoe•1m ago•0 comments

Performance Analysis of AI Query Approximation Using Lightweight Proxy Models

https://arxiv.org/abs/2603.15970
1•tanelpoder•2m ago•0 comments

The Mutable Value Semantics (MVS): A Non-Superficial Study

https://federicobruzzone.github.io/posts/eter/MVS.html
1•fcb•3m ago•1 comments

US National Debt Surpasses GDP

https://thehill.com/business/5857998-us-national-debt-gdp/
2•eigenspace•4m ago•0 comments

Data Science Weekly – Issue 649

https://datascienceweekly.substack.com/p/data-science-weekly-issue-649
1•sebg•4m ago•0 comments

Using physiological ODEs and DNNs to estimate VO2Max

https://www.empirical.health/blog/how-apple-watch-cardio-fitness-vo2max-works/
1•brandonb•9m ago•0 comments

Why Commodore went bankrupt in 1994

https://dfarq.homeip.net/why-commodore-went-bankrupt-in-1994/
1•rbanffy•11m ago•0 comments

Apple Introduces App Store Monthly Subscriptions with 12-Month Commitment

https://www.macrumors.com/2026/04/27/app-store-monthly-subscriptions-12-month-commitment/
1•Cider9986•12m ago•0 comments

Thoma Bravo Refuses to Inject Fresh Cash into Ailing Medallia

https://www.bloomberg.com/news/articles/2026-04-30/thoma-bravo-refuses-to-inject-fresh-cash-into-...
2•petethomas•13m ago•0 comments

Epic Games Wins Reversal of Stay in App Store Fee Legal Battle

https://www.macrumors.com/2026/04/29/epic-games-wins-reversal-app-store-fee-battle/
4•satvikpendem•13m ago•0 comments

Apple wants to kill your Time Capsule, but they run NetBSD so they can't

https://www.osnews.com/story/144845/apple-wants-to-kill-your-time-capsule-but-they-run-netbsd-so-...
5•rbanffy•15m ago•0 comments

Tool calls that execute 100% of the time

https://blog.dottxt.ai/structured-generation-for-tool-calling.html
3•remilouf•18m ago•0 comments

iPhone 17 Is Apple's Most Popular Lineup

https://www.macrumors.com/2026/04/30/iphone-17-is-apples-most-popular-lineup-ever/
1•Cider9986•18m ago•1 comments

ccbuild – A build system for C++ where your build scripts are C++

https://github.com/aniket-ray/ccbuild
1•aniketray•19m ago•0 comments

Gram: A fork of Zed without the bloat

https://codeberg.org/GramEditor/gram
1•klaussilveira•19m ago•0 comments

Show HN: A dashboard for the closest trains in New York City

https://j91680545-byte.github.io/mta-dashboard/
1•throwawayq3423•21m ago•0 comments

Ford's $1B Bet on Detroit's Future – Newlab Tour (11 min video)

https://www.youtube.com/watch?v=lARWV1-Guz4
1•rmason•23m ago•0 comments

Kernel Contracts: A Spec. Language for Correctness Across Heterogeneous Silicon

https://arxiv.org/abs/2604.22032
1•matt_d•23m ago•0 comments

What ORMs have taught me: just learn SQL (2014)

https://wozniak.ca/blog/2014/08/03/1/index.html
1•downbad_•23m ago•1 comments

China Suspends Autonomous Driving Permits After Baidu Outage

https://www.bloomberg.com/news/articles/2026-04-29/china-suspends-new-autonomous-driving-permits-...
2•layer8•24m ago•0 comments

Managing dependencies in non-manifest languages

2•riteshnoronha16•26m ago•0 comments

Apple announces record fiscal second quarter

https://sixcolors.com/post/2026/04/apple-announces-record-fiscal-second-quarter/
1•Amorymeltzer•29m ago•0 comments

Optimising Programmable

https://www.researchgate.net/publication/404050094_A_Data-Driven_Machine_Learning_Framework_for_O...
1•f0r3st•35m ago•1 comments

Tanstack Malicious Code was a college student with Google Antigravity

https://twitter.com/SH20RAJ/status/2049844650136248592
4•amrrs•37m ago•0 comments

Ubuntu website and repositories outage due to DDoS

https://twitter.com/VECERTRadar/status/2049934376272810445
6•jtlebigot•41m ago•2 comments

Don't Delegate Understanding

https://stephango.com/understand
1•sebg•41m ago•0 comments

Apple's iPhone revenue jumps to $57B despite chip shortages

https://www.theverge.com/tech/921527/apple-iphone-revenue-q2-2026-earnings
3•mgh2•42m ago•2 comments

Apple beats on Q2 earnings, thanks to China and iPhone sales

https://finance.yahoo.com/video/apple-beats-on-q2-earnings-thanks-to-china--iphone-sales-20405227...
2•mgh2•43m ago•1 comments

OxyContin maker Purdue Pharma dissolves after judge approves criminal sentence

https://apnews.com/article/oxycontin-purdue-pharma-criminal-sentence-settlement-b8aa94eaab3d9d8ef...
6•embedding-shape•47m ago•0 comments