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

Teaching LLMs to one-shot complex back ends at scale, report #1

https://blog.redplanetlabs.com/2026/05/28/teaching-llms-to-one-shot-complex-backends-at-scale-rep...
1•nathanmarz•1m ago•0 comments

Shift will clean homes for free to train future robots

https://www.theverge.com/ai-artificial-intelligence/939765/ai-training-data-startup-shift-free-cl...
3•evilsimon•1m ago•0 comments

The Messy History of the Vacuum Cleaner (2016)

https://www.popularmechanics.com/technology/gadgets/a20973/history-of-the-vacuum-cleaner/
1•ohaikbai•2m ago•0 comments

Show HN: I built a better GitHub search that rank repos by what matters

https://reposeek.ai
1•donghaxkim•2m ago•0 comments

Canonical takes over Flutter desktop maintenance

https://www.omgubuntu.co.uk/2026/05/flutter-desktop-canonical-maintained
1•chrisb•2m ago•0 comments

OpenAI: Computer use now works on Windows

https://twitter.com/OpenAI/status/2060428604727771421
1•tosh•3m ago•0 comments

Understanding Inference Scaling for LLMs: Bottlenecks, Trade-Offs, and Perf

https://arxiv.org/abs/2605.19775
2•matt_d•3m ago•0 comments

Tech companies desperately want to film you doing chores

https://www.theverge.com/ai-artificial-intelligence/940007/ai-companies-will-pay-for-robot-traini...
3•rolph•5m ago•0 comments

Why Companies Keep Tokenmaxxing

https://caseorganic.substack.com/p/why-companies-keep-tokenmaxxing
3•SLHamlet•6m ago•0 comments

Physical Media Is Making a Comeback. The Next Console Generation Might Kill It

https://www.wired.com/story/physical-media-is-having-a-comeback-the-next-console-generation-may-k...
1•rolph•7m ago•0 comments

Should You Automate Your Life?

https://www.newyorker.com/culture/open-questions/should-you-automate-your-life
2•fortran77•9m ago•0 comments

How to Evaluate an NPM Package – 2026 Edition

https://blog.gaborkoos.com/posts/2026-05-29-How-to-Evaluate-an-npm-Package-2026-Edition/
1•theanonymousone•12m ago•0 comments

On Rendering Diffs

https://pierre.computer/writing/on-rendering-diffs
3•amadeus•13m ago•1 comments

Telegram announcing the surrender of Ft. Sumter (1861)

https://en.wikisource.org/wiki/Fort_Sumter_telegram
1•caminanteblanco•14m ago•0 comments

Quine revives Hyper Terminal

https://hyper.quineglobal.com
2•ironmagma•18m ago•0 comments

Financial Models as Code

https://github.com/Orcaset/orcaset-py
2•jrdnocs•21m ago•0 comments

FYI: Dreamina is shady; do not use

1•ronyeh•21m ago•0 comments

Apple's Finder App [video]

https://www.youtube.com/shorts/viUU2LAR8eg
2•Cider9986•24m ago•0 comments

Wikipedia doesn't need my cash

https://forkingmad.blog/wikipedia-doesnt-need-my-cash/
4•speckx•27m ago•1 comments

The Presences API: Track who is online, typing, and active in realtime

https://appwrite.io/blog/post/announcing-presences-api
1•codeguyakashdev•27m ago•0 comments

Redis-py sucks. It's time for something better

https://github.com/alisaifee/coredis
1•22graeme•28m ago•1 comments

A tiny microphone and site to track birds outside your window

https://theodore.net/projects/AvianVisitors/
3•Twarner•29m ago•1 comments

APL's Surprising Learning Curve (2017) [video]

https://www.youtube.com/watch?v=9xCJ3BCIudI
1•tosh•30m ago•0 comments

Clawtoberfest Contribute · Iterate · Molt

https://nesbitt.io/clawtoberfest/
1•lyoncy•32m ago•0 comments

Monty Hall Problem Simulation

https://nodesocket.github.io/monty-hall-problem-simulation/
1•nodesocket•32m ago•0 comments

Can someone explain this information theory puzzle paper in simple terms?

https://www.researchgate.net/publication/394259368_Exploring_Reinforcement_Learning_and_Informati...
1•JustSittingHere•34m ago•0 comments

Multi-Tenancy in Spring Boot: A Practical Guide

https://anomitra.me/blog/multi-tenancy-in-spring-boot-a-practical-guide/
1•shadeslayer_•36m ago•0 comments

Americans Are Falling Behind on Their $1.25T Credit-Card Bill

https://www.wsj.com/personal-finance/credit/us-credit-card-debt-af5c7c77
10•tcp_handshaker•36m ago•2 comments

Vidai – AI Gateway Written in Rust Community Edition Released

https://vidai.uk/community/
1•nagug•38m ago•0 comments

Decades of Effort Restore Steelhead and Salmon Passage on Alameda Creek

https://www.fisheries.noaa.gov/feature-story/decades-effort-restore-steelhead-and-salmon-passage-...
3•rawgabbit•40m ago•0 comments