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•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

The Invisible Cliff: AI Development and Architectural Debt

https://mynock.substack.com/p/the-invisible-cliff-ai-development
1•mynock•1m ago•0 comments

Show HN: AI-Mirror

https://aimirror.dev/
1•michaelcuneo•2m ago•0 comments

Annotations in Xeno-Canto

https://xeno-canto.org/article/318
1•kiproping•2m ago•0 comments

1940 Air Terminal Museum Begins Liquidation

https://www.1940airterminal.org/news/liquidation-of-simulators
1•weaponeer•5m ago•0 comments

RL Doesn't Work on Slurm

https://blog.skypilot.co/rl-doesnt-work-on-slurm/
2•covi•6m ago•0 comments

Show HN: Mechs.lol – a free, web-based autoshooter game

https://mechs.lol
1•spaceships•6m ago•0 comments

Liberating the public art on L.A.'s light rail lines (2021)

https://palewi.re/posts/2021/05/09/public-art-on-la-light-rail-line/
1•c-shubh•8m ago•0 comments

Curly braces: An evolution of Unix and C

https://thalia.dev/blog/unix-braces/
2•adunk•8m ago•0 comments

Show HN: SnapMeasureAI – Accurate 3D body measurements from photos, no hardware

https://snapmeasureai.com/
1•yuridoug•11m ago•0 comments

Is Machine Learning still worth learning in 2026?

https://www.dataschool.io/is-machine-learning-worth-learning/
2•dataschool•12m ago•0 comments

University Endowments Reap Windfalls from SpaceX, OpenAI, LinkedIn IPOs

https://www.bloomberg.com/news/articles/2026-05-21/spacex-fuels-more-than-3-000-return-for-washin...
1•gmays•12m ago•0 comments

Chain Reactions: How Nonce Collisions in Ecdsa Compromise Polygon MEV Searchers

https://arxiv.org/abs/2605.21498
1•Brajeshwar•12m ago•0 comments

Ask HN: What's New in Crypto?

1•kaycebasques•14m ago•0 comments

Lawmakers Demand Answers as CISA Tries to Contain Data Leak

https://krebsonsecurity.com/2026/05/lawmakers-demand-answers-as-cisa-tries-to-contain-data-leak/
2•speckx•16m ago•1 comments

Tell HN: The Threat to US Citizen's ID / Voting Is Private Services

1•m3047•16m ago•1 comments

Show HN: Accurate body measurements from two images

https://demo.snapmeasureai.com/
1•yuridoug•20m ago•0 comments

Backtesting 500 weather-market bots on Kalshi

https://www.turbinefi.com/blog/500-weather-strategy-backtest-kalshi-new-york-temperature
1•adamewozniak•21m ago•0 comments

Suspected Ebola cases triple in a week as WHO warns of rapid spread in DRC

https://www.theguardian.com/global-development/2026/may/22/suspected-ebola-cases-triple-in-a-week...
2•bookofjoe•22m ago•0 comments

You can no longer Google the word 'disregard'

https://techcrunch.com/2026/05/22/you-can-no-longer-google-the-word-disregard/
4•coloneltcb•23m ago•2 comments

Why is it so hard to find affordable child care?

https://www.washingtonpost.com/opinions/2026/05/20/child-care-dc-is-too-expensive-my-experience-s...
2•bko•24m ago•2 comments

Foobar

2•cresce_shen•25m ago•0 comments

How do AI chips work? [video]

https://www.youtube.com/watch?v=oIk3R-sMX5o&list=PLd7-bHaQwnthaNDpZ32TtYONGVk95-fhF&index=1
1•tosh•25m ago•0 comments

Reiner Pope – Chip design from the bottom up

https://www.dwarkesh.com/p/reiner-pope-2
1•crescit_eundo•26m ago•0 comments

Oops I ran the tests on prod

https://chetan343.substack.com/p/oops-i-ran-the-tests-on-prod
2•TheChetan•26m ago•0 comments

Get Clamped: Unwinding Some Difficult CSS History

https://bkardell.com/blog/GetClamped.html
1•speckx•26m ago•0 comments

A Comparative Security Analysis of Three Cloud-Based Password Managers

https://eprint.iacr.org/2026/058
1•Shank•27m ago•0 comments

Planescape: Torment, Part 1: From the Tabletop

https://www.filfre.net/2026/05/planescape-torment-part-1-from-the-tabletop/
2•doppp•27m ago•0 comments

An Infinitely Long Sentence Made of Just One Word [video]

https://www.youtube.com/watch?v=ejgyHIClRoU
1•dsr12•28m ago•0 comments

State of AI 2026

https://2026.stateofai.dev/en-US
1•gmays•30m ago•0 comments

Show HN: Darnix – Darwin Built with Nix

https://github.com/jonhermansen/darnix
4•jonhermansen•30m ago•1 comments