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

Elephant-Goldfish Model (EGM)

https://github.com/google/elephant-goldfish-model
1•qainsights•28s ago•1 comments

Ask HN: Has a Software Engineering Career Lost a Lot of Respect?

1•karakoram•50s ago•0 comments

A neat trick I found for reusing physical memory

https://sebsite.pw/w/20260728-cow.html
1•ibobev•57s ago•0 comments

Day 2000 Doesn't Care How Fast You Shipped

https://www.syntasso.io/post/day-2000-doesn-t-care-how-fast-you-shipped
1•danielbryantuk•1m ago•0 comments

Ptrc: A pure integer framework for 100% deterministic generative art

https://github.com/GKW369/p-adic-takt-resonance-cosmology
1•GKW369-156•2m ago•0 comments

Image Blocks

https://glfmn.io/devlog/2026-10-23/
1•ibobev•3m ago•0 comments

Malaria Parasite Caught in the Act of Breaking and Entering

https://www.quantamagazine.org/malaria-parasite-caught-in-the-act-of-breaking-and-entering-20261023/
1•ibobev•3m ago•0 comments

Show HN: The Only Weather App You'll Ever Need

https://weatherhubapp.com/
1•15cats7•4m ago•1 comments

Benchmarking Multimodal Agents for Robot Use Across Diverse Tasks, Embodiments

https://arxiv.org/abs/2610.10409
1•devy•5m ago•0 comments

Choosing Addiction Treatment in New Jersey: What Families Should Know in 2026

https://www.northjersey.com/story/special/contributor-content/2026/10/05/choosing-addiction-treat...
2•rollinghillsnj•7m ago•0 comments

A Golden Age of Science Brought to You by the WH (Tyler Cowen Interview)

https://www.nytimes.com/2026/10/22/opinion/interesting-times-tyler-cowen-michael-kratsios.html
2•atlasunshrugged•7m ago•0 comments

Unstructured's New Models Outparse GPT-6, Claude and Gemini

https://unstructured.io/blog/unstructured-transform-faster-more-accurate-for-your-hardest-documents
1•lmarol12•7m ago•0 comments

Why a world without friction is a world without progress

https://aeon.co/essays/why-a-world-without-friction-is-a-world-without-progress
2•ersinesen•9m ago•1 comments

Dagger 1.0 Beta

https://dagger.io/blog/dagger-10-beta/
3•shykes•9m ago•0 comments

LLM Multi-Agent Systems Are Vulnerable to Herding and Runaway Cascades

https://arxiv.org/abs/2610.30769
1•ersinesen•11m ago•0 comments

Preliminary report on H5N1 highly pathogenic avian influenza in Utah mink

https://virological.org/t/preliminary-report-on-h5n1-highly-pathogenic-avian-influenza-in-utah-mi...
2•Guid_NewGuid•11m ago•0 comments

Show HN: Ts-polyglot – Call C/C++ or Rust functions directly from TypeScript

https://ts-polyglot.dev
1•emykhailenko•13m ago•0 comments

We gave an AI $100k to trade on leverage. Here's what it did

https://twitter.com/DeployFinance/status/2113642187074195945
1•bsv_gtd•14m ago•0 comments

Reforming English Spelling

https://blog.oup.com/2026/10/reforming-english-spelling/
1•jruohonen•17m ago•0 comments

We found 20 users within the first 10 minutes of launching using our own site

https://heardly.io/
1•samuelalubin•17m ago•0 comments

Ask HN: How do you get AI loops to converge?

2•outlore•17m ago•1 comments

Ruby RegEx could lead to RCE

https://www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves/
2•arlattimore•18m ago•0 comments

Cloudflare Is Having Issues

https://www.cloudflarestatus.com/incidents/sufgcbe8rrwt
5•palmeida•20m ago•0 comments

Agents fail like engineers, so I review them like engineers

https://blog.greenflagged.dev/posts/agents-fail-like-engineers/
5•Azkar•20m ago•0 comments

Show HN: Tagwall, a 1M-pixel canvas on 6 blockchains with no owner

https://tagwall.io
1•tagwall•20m ago•0 comments

Show HN: Anyone else frustrated with mermaid diagrams?

https://github.com/uberblick-ai/ablauf
1•bk-one•21m ago•0 comments

Show HN: A small audit script and config notes for the new PHP CVEs

https://github.com/mc493/php2shell-enterprise-hardening-cve-2026-109618-109619
1•mc493•22m ago•0 comments

Local AI Is Not as Private as You Think [video]

https://www.youtube.com/watch?v=3mx84MRj8lY
1•onemoresoop•23m ago•0 comments

XHToken/Spark-X2.6-4B

https://huggingface.co/XHToken/Spark-X2.6-4B
3•gmays•24m ago•0 comments

Moreutils: The utilities package every Unix/Linux/Mac OS developer should know

https://rentes.github.io/unix/utilities/2015/07/27/moreutils-package/
2•jcbhmr•26m ago•0 comments