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

Ask HN: What do you currently use for AI coding (personal or professional)?

1•joelthelion•2m ago•0 comments

Grid connection requested for US fusion power plant

https://www.world-nuclear-news.org/articles/grid-connection-requested-for-us-fusion-power-plant
1•beardyw•5m ago•1 comments

Reality: The Final Eval – Vending Bench Eval

https://www.latent.space/p/andon
1•davedx•8m ago•0 comments

How to Stay Resilient in a Difficult Job

https://andiroberts.com/executive-coaching/how-to-stay-resilient-in-a-difficult-job
1•Garbage•11m ago•0 comments

I've Built 4 Products – Traffic Has Killed All of Them. Organic Growth Strategy?

1•Clikdeo•11m ago•0 comments

Companies Are Using Reddit to Manipulate ChatGPT and Google AI Search

https://www.404media.co/companies-are-using-reddit-to-manipulate-chatgpt-and-google-ai-search/
3•latexr•15m ago•0 comments

DentaQuest Data Breach Analysis

https://www.rescana.com/post/dentaquest-data-breach-analysis-shinyhunters-leak-exposes-pii-and-ph...
2•01-_-•28m ago•0 comments

Rodents in the Attic (Small C64 demo) [video]

https://www.youtube.com/watch?v=fbXIdK3o3NU
1•atesti•28m ago•0 comments

Maybe You Can Get Rid of Code Reviews

https://rogermarley.com/blog/maybe-you-can-get-rid-of-code-reviews/
2•rogermarley•28m ago•0 comments

Hey guys made my first indie game from India called Inverta

https://play.google.com/store/apps/details?id=com.invertagame.app&hl=en_US
1•vamsikv28•30m ago•1 comments

Science and Society need more interaction instead of mere communication

https://elephantinthelab.org/science-and-society-need-more-interaction-instead-of-mere-communicat...
1•jruohonen•34m ago•0 comments

Centrality in the DNS

https://www.potaroo.net/ispcol/2026-05/dns-centrality.html
2•fanf2•34m ago•0 comments

Commandments of Synchronization (2011) [pdf]

https://www.cs.cornell.edu/courses/cs4410/2012fa/papers/commandments.pdf
1•signa11•35m ago•0 comments

A Proposal for an Open Credential Lifecycle Standard

https://gist.github.com/abrambailey/086c1cc4f6417a1f504ef7360962dbfc
1•funkdified•36m ago•0 comments

Ask HN: Who here still codes without AI, and why?

1•jakemanger•39m ago•0 comments

Reverse Engineered Razer Keyboard Control

https://www.rizldizl.com/
1•scienceisneato•44m ago•1 comments

The best/only way to get VCs to pay for a new systems programming language

https://ziggit.dev/t/allocators-in-zig-and-what-can-be-better-in-another-language/11755
1•burglins•45m ago•0 comments

There Is No Sound of the 2020s. Yet

https://ra.co/features/4505
2•volfenstein•46m ago•1 comments

A Modern Proxmox Docker Architecture with Disposable VMs, VirtIO-FS, and ZFS

https://du.nkel.dev/blog/2026-05-16_rootless_docker_virtiofs_proxmox/
1•Helmut10001•49m ago•0 comments

From the Legendary Lft: Microcontroller Magic ("Sum Ergo Demonstro") [video]

https://www.youtube.com/watch?v=0_9YS2tsdYc
1•ttsiodras•51m ago•0 comments

Static Web Server

https://static-web-server.net/
2•igoose1•51m ago•0 comments

I'm a Philosophy Professor. Here's Why I'm Training AI to Replace Me

https://www.chronicle.com/article/im-a-philosophy-professor-heres-why-im-training-ai-to-replace-me
2•KnuthIsGod•57m ago•0 comments

The world of Japanese train melodies [video]

https://www.youtube.com/watch?v=-KxQIEhsFQk
1•vinhnx•58m ago•0 comments

The Vientiane Mystery: When a Taxi Apps Randomly Stops Working

https://gist.github.com/Usernameisalreadytaken5/a0bc0e204008b9ed1b404437db5f59cd
1•jondoe•59m ago•0 comments

Show HN: Bgbgone – local Mac background remover CLI – MIT

https://github.com/Arthur-Ficial/bgbgone
1•franze•1h ago•0 comments

C++: The Programming Language Cover Raises Unanswered Questions

https://devblogs.microsoft.com/oldnewthing/20260401-00/?p=112180
1•birdculture•1h ago•0 comments

The "Cat-Cam": Using Go and an Old Nokia Android to Catch a Midnight Intruder

https://medium.com/@premkumarbhaskal/the-cat-cam-using-go-and-an-old-nokia-android-to-catch-a-mid...
2•Pbhaskal•1h ago•1 comments

Using the Screen Capture API to record a browser window

https://alexwlchan.net/2026/record-browser-video/
2•Tomte•1h ago•0 comments

Ask HN: What are some agent-coded masterpieces?

1•xyzal•1h ago•1 comments

A Little Explanation of Little's Law

https://rugu.dev/en/blog/littles-law/
3•signa11•1h ago•2 comments