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

How Cosmos put Carl Sagan in Miniature sets [video]

https://www.youtube.com/watch?v=EnyqvtZz7Cg
1•gdubs•1m ago•0 comments

Coursera Bets $100M That Andrew Ng Can Do What Coursera Can't

https://www.classcentral.com/report/coursera-andrew-ng-learnvector-investment/
1•dhawalhs•2m ago•0 comments

IBM: Three Demonstrations Prove Quantum Advantage Has Been Reached

https://www.nextplatform.com/compute/2026/07/31/ibm-three-demonstrations-prove-quantum-advantage-...
1•rbanffy•2m ago•0 comments

The End of Everything by M. John Harrison

https://www.lrb.co.uk/the-paper/v48/n13/edmund-gordon/uncanny-little-blighter
1•mitchbob•4m ago•1 comments

Lakehq/sail: Drop in spark replacement in Rust

https://github.com/lakehq/sail
1•apwheele•4m ago•0 comments

What is a data centre and why is everyone freaking out now?

https://www.rnz.co.nz/news/science-and-technology/868752/explainer-what-is-a-data-centre-and-why-...
3•billybuckwheat•10m ago•0 comments

Scaling a 1.59 quadrillion-row logging system with ClickHouse

https://clickhouse.com/blog/a-quadrillion-rows-across-the-three-cloud-scaling-loghouse
1•saisrirampur•10m ago•0 comments

A cold-start fallback wrote 17,000 rows while the real handler never ran

https://silentwiring.com/articles/more-agents-silent-failure/
1•tomkilli•11m ago•0 comments

For Mary · Streamlit

https://boxvxsrnquhzc9jxc2e7vr.streamlit.app
1•reiligh•15m ago•0 comments

Show HN: Kota – Bring AI agent CLIs into the same room

https://www.kota.place/
1•chriswunan•15m ago•0 comments

Claude published malicious code to the Internet and attacked 3 real companies

https://arstechnica.com/security/2026/07/likely-illegally-claude-gained-access-to-3-networks-will...
1•rbanffy•15m ago•0 comments

Who Are Your "Descendants"?

https://www.overcomingbias.com/p/who-are-you-descendants
1•paulpauper•15m ago•0 comments

Boss Profits from Your Excuses

https://gilbertramirez.com/blog/your-boss-profits-from-your-excuses-heres-the-proof/
1•gillysuit•15m ago•0 comments

SwiftUI After 7 Years: A Story of Mediocrity

https://ykvm.com/2026/07/swiftui-a-story-of-mediocrity/
2•mpweiher•15m ago•0 comments

Is AI Progress Stalling? Or is it me?

https://arnoldkling.substack.com/p/is-ai-progress-stalling
1•paulpauper•16m ago•0 comments

Is Gen Z Saving Hollywood?

https://www.theatlantic.com/culture/2026/08/gen-z-movies/688148/
1•paulpauper•17m ago•0 comments

Bacteria and the Inverse Association Between Farm Exposure and Childhood Asthma

https://evidence.nejm.org/doi/10.1056/EVIDoa2500271
2•Jimmc414•17m ago•1 comments

The 'internet radical' who helped Microsoft get email and AT&T get online

https://www.theregister.com/offbeat/2026/08/02/meet-the-internet-radical-who-helped-microsoft-get...
1•joebuckwilliams•18m ago•0 comments

Amylin: A Novel Obesity Therapy

https://www.medscape.com/viewarticle/amylin-novel-diabetes-and-obesity-therapy-2026a1000lvm
3•wjSgoWPm5bWAhXB•18m ago•0 comments

Effective HTML

https://www.effectivehtml.com/
1•ramoz•21m ago•0 comments

RosaicLabs, Atom RTL, and 32-Tile AMX: Trying to Piece Together a x86 Puzzle

https://chipsandcheese.com/p/rosaiclabs-atom-rtl-and-32-tile-amx
1•rbanffy•21m ago•0 comments

Microsoft raises Xbox prices by up to 43%

https://www.theverge.com/games/974253/xbox-prices-increasing-200-euros
19•BlueBerry2001•22m ago•5 comments

Agent Fone

https://fail.xyz/phone/
1•ExMachina73•23m ago•0 comments

AI-assisted analytics now 10x cheaper

https://motherduck.com/blog/openai-just-made-analytics-10x-cheaper/
1•ryguyrg•24m ago•0 comments

Cancelling Cursor

https://www.jitbit.com/alexblog/cancelling-cursor/
4•speckx•25m ago•0 comments

The OpenAI and Anthropic AI Hacking Sprees Are a Messy New Legal Frontier

https://www.wired.com/story/openai-anthropic-ai-hacking-sprees-illegal/
3•thm•27m ago•1 comments

There Are Magic Hexagons of Every Order

https://gukov.dev/math/2026/08/02/new-magic-hexagons.html
1•gukoff•28m ago•0 comments

The Conductor Developer

https://martinfowler.com/rachels-ramblings/conductor-developer.html
1•saikatsg•28m ago•0 comments

KotlinLLM

https://github.com/JetBrains-Research/kotlinllm-plugin
3•saikatsg•29m ago•0 comments

smol

https://smolenv.com/
1•tosh•29m ago•0 comments