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

Canonical Joins the Rust Foundation as a Gold Member

https://rustfoundation.org/media/canonical-joins-the-rust-foundation-as-a-gold-member/
1•weinzierl•7s ago•0 comments

"Europe 2031" is a bet not a forecast

https://frederike.substack.com/cp/208338001
1•rwmj•1m ago•0 comments

Digital Intelligence: Why Humanity Created What It Does Not Understand

https://singularityforge.space/2026/07/26/illusion-of-control/
1•Voice_of_Void•4m ago•0 comments

If another advanced civilization lived on Earth before us, would we know?

https://www.cnn.com/2026/07/25/climate/silurian-hypothesis-another-civilization-before-humans
2•samizdis•6m ago•0 comments

Atari 2600 TV Ads – By Paul Lefebvre

https://www.goto10retro.com/p/atari-2600-tv-ads
1•rbanffy•6m ago•0 comments

Watching Go's new garbage collector move through the heap – The Consensus

https://theconsensus.dev/p/2026/07/19/observing-gos-garbage-collector-old-and-new.html
2•rbanffy•9m ago•0 comments

Is AI used in school system and how are they implementing it

1•rohankc_01•10m ago•0 comments

GM Backs Sodium Ion Batteries for U.S. Grid Storage

https://spectrum.ieee.org/sodium-ion-battery-peak-energy
10•rbanffy•14m ago•0 comments

I built a new PoW protocol and observed a surprisingly early solution

2•babakkarimib•17m ago•0 comments

How A Gang of Thieves Pulled Off a Multimillion-Dollar Data Center Heist

https://www.nytimes.com/2026/07/12/magazine/data-center-heist.html
2•chirau•20m ago•2 comments

You Do Not Need a Server for Agent Evals

https://medium.com/@chalyi/you-do-not-need-a-server-for-you-agent-evals-a145962298be
2•chalyi•20m ago•0 comments

Harry Potter and the Philosopher's Stone

https://en.wikipedia.org/wiki/Harry_Potter_and_the_Philosopher%27s_Stone
2•chistev•22m ago•0 comments

Tesla's robotaxis are moving in reverse

https://techcrunch.com/2026/07/23/teslas-robotaxis-are-moving-in-reverse/
4•decimalenough•27m ago•0 comments

International Child Abduction in Japan

https://en.wikipedia.org/wiki/International_child_abduction_in_Japan
3•croes•28m ago•0 comments

Who Gets Saved in the New West?

https://www.playboy.com/read/politics/who-gets-saved-in-the-new-west
2•littlexsparkee•28m ago•0 comments

A 77-year-old Republican man is staging a solo protest against Flock cameras

https://www.cltampa.com/news/a-77-year-old-republican-man-is-staging-a-solo-protest-against-st-pe...
30•UmYeahNo•30m ago•14 comments

Ask HN: What's expected from an engineering manager or director now?

3•agentwrangler•36m ago•1 comments

Mac OS 7 on x86 [video]

https://www.youtube.com/watch?v=rJRlHKQqX2M
3•tambourine_man•36m ago•1 comments

Israel's $50M Experiment to Change U.S. Public Opinion

https://www.wsj.com/politics/israels-50-million-experiment-to-change-u-s-public-opinion-253b3b70
5•abdelhousni•38m ago•2 comments

AMD publishes machine-readable ISA so frontier models can write its GPU kernels

https://www.theregister.com/ai-and-ml/2026/07/24/amd-vibe-codes-its-way-past-the-cuda-moat-with-r...
3•logickkk1•41m ago•0 comments

Tech titans' playbook to defy Aussie social media ban

https://www.afr.com/technology/big-tech-tricks-undermining-social-media-ban-wells-20260331-p5zk5e
2•asdefghyk•41m ago•0 comments

Becoming a Research Engineer at a Big LLM Lab

https://www.maxmynter.com/pages/blog/jobhunt
3•felixdoerp•42m ago•0 comments

Why our exoplanet map looks like a cone? [video]

https://www.youtube.com/watch?v=ZF_Q4C_Yhz8
3•hakkikonu•43m ago•0 comments

Daraxonrasib or Chemotherapy in Previously Treated Metastatic Pancreatic Cancer

https://www.nejm.org/doi/full/10.1056/NEJMoa2605555?query=WB
2•maxall4•44m ago•0 comments

'AI Mania Is Eviscerating Global Decision-Making'

https://daringfireball.net/linked/2026/07/25/ai-mania-nikhil-suresh
23•robenkleene•44m ago•4 comments

AIs Favourite Number

https://sackfield.substack.com/p/ais-favourite-number
2•sackfield•45m ago•0 comments

ExploitGym – Can AI Agents Turn Security Vulnerabilities into Real Attacks?

https://www.cybergym.io/exploitgym/
2•882542F3884314B•45m ago•0 comments

The Great Rate Reset

https://www.axios.com/2026/07/23/rates-treasury-yields-borrowing
3•toomuchtodo•47m ago•0 comments

JIT Go Brrr: The Path to a Supported JIT Compiler for CPython

https://peps.python.org/pep-0836/
2•programLyrique•49m ago•0 comments

Color Generator

https://kigen.design/color
3•arnon•53m ago•0 comments