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

Show HN: Using a diffusion model to write docs quickly

https://www.cortee.ai
1•nandorb1•2m ago•0 comments

Making a game for the GBA and PC from the same codebase

https://mattgreer.dev/blog/making-a-game-for-gba-and-pc/
1•birdculture•3m ago•0 comments

lonely 20 questions, a game for people with no friends

https://20questions.foxmoss.com/
1•foxmoss•3m ago•0 comments

Don't Trust the Super-App: A Case Study of Russia's Max

https://arxiv.org/abs/2609.11814
2•pchr8•4m ago•0 comments

Does this mean it's fine to use Claude subscriptions with third party harnesses?

2•jakemanger•5m ago•0 comments

New cat species identified for the first time in a century

https://www.cbc.ca/news/science/tilcayo-tiger-cat-new-species-9.7349140
4•rdmuser•9m ago•1 comments

Moving Share Homes for Ukraine data's code to open source

https://mhclgdigital.blog.gov.uk/2026/09/18/moving-share-homes-for-ukraine-datas-code-to-open-sou...
1•edent•9m ago•0 comments

Grep your Claude Code/Codex history and jump back into the exact session

1•ayushgzip•11m ago•0 comments

Hjfjhg

1•MgAungPhyoThu•12m ago•0 comments

Building an Integrated Vector Database System in PostgreSQL

https://arxiv.org/abs/2608.15994
1•pykello•12m ago•0 comments

Albanins discovering the long-banned car (1992)

https://www.washingtonpost.com/archive/politics/1992/03/29/albanians-discovering-the-long-banned-...
1•edward•12m ago•1 comments

Backgrounding My Way to Japan – How to learn truth from fiction

https://aethermug.com/posts/backgrounding
1•mrcgnc•12m ago•0 comments

Show HN: Jawz – macro market state for AI agents, now a ChatGPT app (no login)

https://jawz.ai
1•nunespv•13m ago•0 comments

Query Plan Rewriting in PostgreSQL

https://theconsensus.dev/p/2026/09/13/query-plan-rewriting-in-postgresql.html
3•eatonphil•17m ago•0 comments

If materialism is true, the United States is probably conscious

https://www.jstor.org/stable/24704177
1•ashergill•18m ago•0 comments

Deploying Monorepos Sucks

https://dominikkoch.dev/blog/deploying-monorepos-sucks
2•DominikKoch•19m ago•0 comments

NeverLose – Crash-proof any Python function with one decorator

https://github.com/neverlose-io/neverlose
2•NeverLose_io•22m ago•0 comments

The 2.5-hour AI-generated Odyssey movie is 2.5 hours too long

https://www.theverge.com/entertainment/996499/ai-odyssey-movie-review
1•robenkleene•22m ago•0 comments

RepoGuard – CLI to stop Cursor and Copilot from bypassing architecture

https://github.com/taylormatematica-beep/repoguard
1•taylor_matemati•25m ago•0 comments

Show HN: OpsGraph – evidence-first PostgreSQL investigations

https://opsgraph-site-seven.vercel.app/
2•arittrabag•25m ago•0 comments

Show HN: I built a small tool to turn my essays into visual stories for YouTube [video]

https://www.youtube.com/watch?v=Sv1u6Oeum5k
1•devrob•26m ago•0 comments

Are AIs Still Struggling with CAPTCHAs?

https://www.schneier.com/blog/archives/2026/09/are-ais-still-struggling-with-captchas.html
1•danaris•26m ago•0 comments

Show HN: Qpilot – run your manual test cases without writing test code

https://github.com/broxhq/qpilot
2•broxhq•27m ago•0 comments

Allelify: Run commands in parallel while storing logs in /tmp to limit noise

https://www.npmjs.com/package/allelify
2•vismit2000•28m ago•0 comments

Grandmother falsely accused of bank theft after alleged AI facial recognition

https://abcnews.com/US/grandmother-falsely-accused-bank-theft-after-alleged-ai/story?id=136536444
1•OutOfHere•28m ago•0 comments

Models train, from gradient descent to Adam

https://stochastic.blog/how-models-train-from-gradient-descent-to-adam/
1•Anon84•29m ago•0 comments

I Thought Running to Christ Will Save Me from My Demons

https://etechx.co.ke/i-thought-running-to-christ-will-save-me-from-my-demons
2•ndegekmw•29m ago•0 comments

Auditing in the age of (good enough) AI

https://blog.trailofbits.com/2026/09/18/auditing-in-the-age-of-good-enough-ai/
2•ingve•31m ago•0 comments

Last 30 days of AI but as an anime scene

https://twitter.com/DavidAmal/status/2100565801392914657
1•amaldavid•32m ago•1 comments

Artificial What Now?

https://riddle.press/artificial-what-now/
1•wilabroard•33m ago•0 comments