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

Heretic developer Philipp Emanuel Weidmann has died

https://www.heise.de/en/news/Heretic-developer-Philipp-Emanuel-Weidmann-has-died-11547929.html
2•mm321•4m ago•1 comments

Show HN: I've built contextzip, a tool to package codebase for a free AI chat

https://github.com/akadeepesh/contextzip
2•akadeepesh•5m ago•0 comments

Show HN: GitVolt 2.0, rewritten using GPUI performance improvements

https://gitvolt.com/
2•francislavoie•7m ago•0 comments

Show HN: SiftLater – self-hosted read & watch later that you actually get

https://github.com/webshark/siftlater
2•webshark79•11m ago•0 comments

I made a AI tutor, now its teaching in my uni for $0.0103 USD

2•KushAgarwal2407•12m ago•0 comments

Why Bother?

https://ninchiai.substack.com/p/why-bother
2•jbethune•14m ago•0 comments

DuckDB for Graphs

https://ladybugdb.com/duckdb-for-graphs/
2•adsharma•15m ago•1 comments

Experimenting with AI agents to make new browser engine from scratch

1•pahal-desai•17m ago•0 comments

Solving the compute crisis with physics-based ASICs

https://arxiv.org/abs/2507.10463
2•jerlendds•17m ago•0 comments

CloudConvert but Offline Using WASM

https://crunch-converter.ppmpreetham1.workers.dev/
2•ppmpreetham•22m ago•1 comments

California to require businesses to provide customers with human support

https://calmatters.digitaldemocracy.org/bills/b-29278
3•DeepLogin•23m ago•0 comments

The Rise and Fall of a Supercop

https://magazine.atavist.com/2026/the-rise-and-fall-of-a-supercop-belgium-cocaine
1•Tomte•24m ago•0 comments

Canadian moron enrages LA Fire Department, gets nabbed by ICE

https://arstechnica.com/tech-policy/2026/12/canadian-moron-enrages-la-fire-department-gets-nabbed...
3•Tomte•27m ago•0 comments

America Wants to Make More Generic Drugs. India Shows Why That's Hard

https://www.nytimes.com/2026/10/02/business/india-generic-drugs-tariffs.html
1•walterbell•28m ago•0 comments

Someone made a real game based on Simon Willison's Racoon Heist [video]

https://www.youtube.com/watch?v=xoJy1c8qBOk
2•vaviloff•28m ago•1 comments

Theodolite tells you the best place to meet your friends in NYC

https://theodolite.saw.dog/meet?p=40.68327,-73.94418,transit&p=40.73795,-73.98592,transit&p=40.77...
1•sawdog•29m ago•0 comments

Two new constant-weight code bounds, checkable in the browser

https://claude.ai/artifact/EJKRoF7H3EiEptdYbjW23k
1•cluterm•31m ago•0 comments

The world deserves a better language learning app

https://spencer.imbleau.com/blog/ai-language-learning/
3•simbleau•39m ago•1 comments

The Fate of Classics

https://acoup.blog/2026/12/04/collections-the-fate-of-classics/
1•Tomte•40m ago•0 comments

Mixpanel breached via 3rd party software

https://trust.mixpanel.com
1•b33f•41m ago•1 comments

Qwen4-35B-a3B first useful local model on my RTX3060 12 GB VRAM

https://jeena.net/qwen4-35b-a3b
3•jeena•43m ago•0 comments

I Tried to Save My Own People While I Still Needed Saving Myself

https://specialmonth.gumroad.com/l/jmwqfm
1•blessingrilwele•45m ago•1 comments

Everything Is Downstream of Ambition

https://writing.nikunjk.com/p/everything-is-downstream-of-ambition
2•kiyanwang•47m ago•0 comments

Meta's Plan to Replace the iPhone – With Andrew Bosworth and Alan Dye

https://podcasts.apple.com/us/podcast/metas-plan-to-replace-the-iphone-with-andrew-bosworth/id681...
1•Austin_Conlon•47m ago•0 comments

Show HN: Wordle for PyTorch – Daily Tensor Puzzles

https://app.tensor.golf/daily
1•singular_atomic•47m ago•0 comments

Take Asymmetric Bets

https://eriktorenberg.substack.com/p/take-asymmetric-bets
1•kiyanwang•47m ago•0 comments

Show HN: SDF World – Exploring and editing a soft 3D world in Rust and WebGPU

https://www.tomhutman.nl/sdf-world/
4•ath92•48m ago•0 comments

React Compiled to Native C++

https://twitter.com/dashersw/status/2129004555316982116
2•arbayi•54m ago•0 comments

Show HN: Duckcat – A native desktop SQL client for DuckDB

https://github.com/mengdu/duckcat
1•lanyueos•57m ago•0 comments

Agent Hub: one chat for Codex, Claude and OpenCode, with a host that delegates

https://github.com/zzy35150310/agent-hub
1•zzy35hub•57m ago•0 comments