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

Pellet guns against India GenZ protestors. Video conference by opposition leader

https://www.youtube.com/watch?v=EnM-UJhxIwg
1•Guestmodinfo•2m ago•0 comments

A Functional Taxonomy of World Models

https://drfeifei.substack.com/p/a-functional-taxonomy-of-world-models
1•andsoitis•3m ago•0 comments

Indian govt orders GitHub to block Bitchat

https://www.moneycontrol.com/europe/?url=https://www.moneycontrol.com/technology/indian-govt-orde...
2•notThrowingAway•4m ago•0 comments

TPS, Pressure-Testing Product Ideas, Nokia's Demise – Food for Agile Thought 554

https://age-of-product.com/food-agile-thought-554-toyota-production-system/
1•swolpers•4m ago•0 comments

UK AISI / CAISI Preliminary Assessment of Kimi K3's Cyber Capabilities

https://www.nist.gov/news-events/news/2026/07/uk-aisi-caisi-preliminary-assessment-kimi-k3s-cyber...
1•0in•6m ago•0 comments

I've been working on a podcast app that goes far beyond a sleep timer

https://apps.apple.com/nl/app/sleepcast/id6744658836
1•aderijke•6m ago•0 comments

Programming Languages Are Authoring Tools for Platforms

https://www.makonea.com/en-US/blog/programming-languages-are-authoring-tools-for-platforms
1•jdw64•8m ago•0 comments

Do It by Hand First: Method for Keeping Critical Thinking Alive in the Age of AI

https://blog.parentsguidetoai.ca/do-it-by-hand-first-critical-thinking.html
1•speckx•9m ago•0 comments

Galilean Limits of Electromagnetism

https://johncarlosbaez.wordpress.com/2026/07/18/galilean-limits-of-electromagnetism/
1•surprisetalk•9m ago•0 comments

Mapping infrastructure across East Asia and the US

https://oswarld.github.io/gridos/en/
1•haebom•11m ago•0 comments

Orcas filmed ramming sunfish so hard it explodes in cloud of scraps

https://www.abc.net.au/news/science/2026-07-23/orcas-filmed-ramming-sunfish-so-hard-they-explode/...
1•debo_•12m ago•0 comments

Show HN: TechStacks – Popular Tech news summarized, including comments

https://techstacks.io
1•mythz•13m ago•0 comments

Show HN: Uploads.sh – the missing upload command for coding agents (open-source)

https://uploads.sh/
1•zachdunn•14m ago•0 comments

Show HN: X402vps – Docker containers for AI agents, paid per hour with USDC

https://x402vps.com
2•z1z2z3•14m ago•0 comments

Show HN: I built an app where tasks live inside calendar events

https://apps.apple.com/ph/app/zesfy-daily-planner-progress/id6479947874
1•zesfyapp•14m ago•0 comments

Why is programming so captivating, yet so agonizing?

https://elsewhere.news/en/zhenfund/why-is-programming-so-captivating-yet-so-agonizing
2•ilreb•15m ago•0 comments

A Tour of MLIR: The Dialect Stack Everyone Depends On

https://hiraditya.github.io/posts/mlir-dialect-stack-for-ml/
1•haeseong•15m ago•0 comments

Show HN: Cc-session-migrate: Cross-node migration for Claude Code sessions

https://github.com/bigwhite/cc-session-migrate
1•bigwhite•16m ago•0 comments

Ruff v0.16.0

https://astral.sh/blog/ruff-v0.16.0
1•Matrixik•17m ago•0 comments

The Robots Cometh

https://time.com/article/2026/07/23/unitree-china-human-robotics/
1•RickJWagner•18m ago•0 comments

Show HN: A monorepo where AI agents can safely build and maintain applications

https://github.com/louisbrulenaudet/monorepo-template
1•brulenaudet•19m ago•0 comments

ECMAScript – Introducing Deferred Module Evaluation with Import Defer

https://nitayneeman.com/blog/introducing-import-defer-in-ecmascript/
1•nitayneeman•21m ago•0 comments

West Virginia paid digital nomads to move there during Covid. Many are staying

https://text.npr.org/nx-s1-5869402
2•mooreds•22m ago•0 comments

AI VS AI. How I transcribed my grandmothers book "The house of Daisies" Using AI

https://www.meli.sh/posts/post3
1•unseenmeli•22m ago•0 comments

Of two minds about agentic coding

https://jerodsanto.net/2026/07/of-two-minds-about-agentic-coding/
1•mooreds•23m ago•0 comments

Is PYPL an Obvious Short?

https://tradeintelligent.substack.com/p/is-pypl-an-obvious-short
1•alizasl•23m ago•0 comments

By My Side – solo-built survival game where your dog is the whole point

https://store.steampowered.com/app/4859700/By_My_Side/
1•yoopla_dev•25m ago•0 comments

Furutsu Doku

https://furutsudoku.com/
1•Mike-Kimble•28m ago•0 comments

The Scariest Chart in Electrical Engineering [video]

https://www.youtube.com/watch?v=GK2pZ_oVU1o
1•binyu•29m ago•0 comments

Indian police cracked down on 'cockroach' protesters. They made memes about it

https://www.bbc.com/news/articles/c3ek3l9gp7go
2•Cider9986•29m ago•0 comments