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

Poll: What's your level of AI-assisted coding these days?

1•gtirloni•38s ago•0 comments

Grok Subsidizes PQC Switch

https://grok.com/news/post-quantum-migration-with-grok-build
1•kryogen1c•47s ago•0 comments

Bill Gates Warns Many Jobs Will Disappear Permanently as He Urges AI Risk Action

https://www.ibtimes.co.uk/bill-gates-ai-job-loss-congress-policy-1836791
1•jboyonline•2m ago•0 comments

AI coding agents in 2027: market report on 40 tools

https://vektormemory.com/blog/ai-coding-agents-2027
1•minimaxa•3m ago•0 comments

Could rumorored crypto advances break Bitcoin?

1•dzdt•6m ago•0 comments

Seek Thermal says it has no plans for further Nano camera app updates

https://support.thermal.com/hc/en-us/articles/31754807351443-Nano-Compatibility
1•jhtressl•6m ago•0 comments

Ask HN: As the interface becomes agentic, companies will stop GUI work, right?

1•consumer451•8m ago•0 comments

Clashes of Tech and the US Government

https://digitalseams.com/blog/assorted-links-2026-03-01
1•bobbiechen•15m ago•0 comments

TinyFind – fixing Mac OS's Spotlight search in 1000 lines of Swift

https://github.com/cktang88/tinyfind
1•kt01•16m ago•0 comments

Programming from the Ground Up [pdf]

https://download-mirror.savannah.gnu.org/releases/pgubook/ProgrammingGroundUp-1-0-booksize.pdf
1•ibobev•18m ago•0 comments

OpenAI: Smooth four-dimensional Poincaré conjecture disproved [pdf]

https://github.com/openai/math/blob/main/preprints/Exotic-four-spheres-detected-by-Khovanov-homol...
11•xhevahir•18m ago•1 comments

F-16 goes down over Strait of Hormuz, pilot rescued by U.S. drone boat

https://www.nbcnews.com/news/us-news/f-16-goes-strait-hormuz-pilot-rescued-us-drone-boat-rcna612916
1•wslh•20m ago•0 comments

The Woman Who "Debunked" the Claude-Alpöge Riemann Proof

https://jessesingal.substack.com/p/the-strange-dark-tale-of-the-woman
2•hydrolox•20m ago•0 comments

Q-Day

https://en.wikipedia.org/wiki/Quantum_threat
2•jonbaer•21m ago•0 comments

'No one is coming to save you': Nvidia hearings preview oversight of Trump admin

https://www.politico.com/news/2026/12/04/white-house-trump-nvidia-oversight-01193919
1•petethomas•25m ago•0 comments

Tinybrowser: A browser running directly in the browser

https://tinybrowser.ericc.ch/
11•auraham•26m ago•4 comments

/Dev/Null Friends

https://hyloxira.pika.page/posts/devnull-friends
1•altilunium•29m ago•0 comments

P=BQP?

https://tech.yahoo.com/cybersecurity/articles/report-reveals-secret-encryption-discovery-20273969...
1•yegortk•30m ago•0 comments

See turbulence on your flight in real time

https://bumpy.flights/
1•k0mplex•31m ago•0 comments

Verified LLM-Based Query Rewriting for Microsoft SQL Server

https://al.radbox.org/doi/10.14778/3827998.3828074
1•matt_d•31m ago•0 comments

Lego Mindstorms (EOL) control/code app

https://zibrick.com/
1•dexif•32m ago•1 comments

Show HN: Claude Wrapped 2026

https://claude.ai/artifact/HhycTJBv68VtudDyMd3acJ
1•spirosbax•35m ago•0 comments

Host your own "classic cable" with your own media library

https://play.google.com/store/apps/details?id=com.nostalgiatv&hl=en_US
1•rabuse•40m ago•1 comments

'I think he's lying': Takeaways from Jensen Huang's bruising testimony

https://www.politico.com/news/2026/12/03/i-think-hes-lying-inside-jensen-huangs-bruising-testimon...
2•gwu78•43m ago•0 comments

Measuring LLM judge errors with edited RAG answers

https://internals.laxmena.com/p/should-you-trust-your-llm-judge-not
1•laxmena•45m ago•0 comments

Man dies after eating cheesesteak, deepening mystery of tick-linked allergy

https://arstechnica.com/health/2026/12/killed-by-a-cheesesteak-man-dies-from-mysterious-tick-link...
2•colinprince•46m ago•0 comments

Nvidia's chips trained a Chinese satellite's AI. Iran used it to attack the US

https://www.cnbc.com/2026/12/03/nvidia-china-iran-satellite-attack.html
1•cisc•49m ago•0 comments

Transcript of Jensen Huang's closed-door testimony

https://www.nytimes.com/interactive/2026/12/04/us/04jensen-huang-nvidia-live-transcript.html
3•donohoe•51m ago•0 comments

Quantum resource estimates for computing elliptic curve discrete logarithms

https://arxiv.org/abs/1706.06752
1•networked•51m ago•0 comments

Ask HN: What's the best book you read this year?

3•laxmena•52m ago•3 comments