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

Five Unix ideas from the 1970s are why Linux still works so well

https://www.howtogeek.com/stop-reinventing-the-wheel-these-unix-ideas-from-the-seventies-are-why-...
1•teleforce•2m ago•0 comments

RL economics, morally charged terms, and "distillation"

https://thomasdullien.github.io/posts/2026-06-15-rl-economics-morally-charged-terms-and-distillat...
1•samuel246•4m ago•0 comments

How to prevent white clothes from turning yellow in storage

https://www.southernliving.com/how-to-pevent-white-clothes-from-turning-yellow-in-storage-12016122
1•teleforce•5m ago•0 comments

Tokensave: An MCP Server That Saved Me Tokens While Coding

https://www.tobiasreithmeier.de/en/blog/tokensave-mcp-server-tutorial-review
1•freediver•9m ago•0 comments

Show HN: Synapse – local codebase indexer and MCP server for Claude Code

https://github.com/nrkoka786/synapse
1•nrkoka1•17m ago•0 comments

Overload and insight look identical from the outside

https://pilgrima.ge/p/what-the-wire-knows
1•momentmaker•20m ago•0 comments

Show HN: Free car spec db to defeat the paywalls

https://openlaborproject.com/
1•chackleman•24m ago•1 comments

Madison Square Garden Sues Wired Magazine over L.G.B.T.Q. Tracking Report

https://www.nytimes.com/2026/07/18/business/media/msg-entertainment-sues-wired-magazine.html
1•ChrisArchitect•25m ago•1 comments

How Word Count Is Important for Social Media Posts

https://medium.com/@thesuperrepemail/how-word-count-is-important-for-social-media-posts-87372645377c
2•rajsuper123•36m ago•0 comments

William Gaddis and William H. Gass: A Literary Conversation and Reading (1995)

https://www.92ny.org/archives/william-gaddis-and-william-h-gass-a-literary-conversation-and-reading
1•ofalkaed•42m ago•0 comments

Trump Media pitched $100K monthly fee for fastest feed of US president's posts

https://www.reuters.com/business/media-telecom/trump-media-pitched-100000-monthly-fee-fast-feed-u...
4•geox•43m ago•1 comments

Disney Has Started Feeding Your Kids AI Slop

https://kotaku.com/disney-has-started-feeding-your-kids-ai-slop-2000717222
5•wslh•50m ago•0 comments

Lawyers risk being sued for failing to use AI

https://www.legalcheek.com/2026/07/lawyers-risk-being-sued-for-failing-to-use-ai/
3•Tomte•51m ago•0 comments

LLM-Integrated Multivariable Calculus Course

https://calculus.academa.ai/
5•sinaatalay•57m ago•1 comments

Topographical Collection of King George III

https://www.flickr.com/photos/britishlibrary/collections/72157719509637544/
1•Eridanus2•58m ago•0 comments

XRPLink – Cryptographically Verified XRP Payment Receipts, Powered by Flare FDC

https://github.com/joverman/xrplink
1•joverman•1h ago•0 comments

FDA approves new kind of cholesterol pill

https://www.fda.gov/news-events/press-announcements/fda-approves-first-oral-pcsk9-inhibitor-lower...
4•mgh2•1h ago•1 comments

Useless Use of Cat Award

https://porkmail.org/era/unix/award
1•gregsadetsky•1h ago•1 comments

Novo Space builds modular computers for satellite constellations

https://runtimewire.com/article/startup-spotlight-novo-space-builds-modular-computers-for-satelli...
1•ryanmerket•1h ago•0 comments

Gaming Sickness and Its Impact on Players' Experiences with Games

https://dl.acm.org/doi/10.1145/3670653.3677494
2•BiraIgnacio•1h ago•0 comments

I built a browser-based P2P file transfer tool using WebRTC

https://airdows.com/
2•SamOkampo•1h ago•1 comments

Jordan Ellenberg explains how geometry helps us understand the world

https://www.cbc.ca/lite/story/1.6448326
1•colinprince•1h ago•0 comments

Retry is not a loop, its a data structure

https://siddhantkhare.com/writing/retry-is-not-a-loop
2•meetpateltech•1h ago•0 comments

Association Between Low/No-Calorie Artificial Sweeteners and Cognitive Decline

https://www.neurology.org/doi/10.1212/WNL.0000000000214023
2•corvad•1h ago•0 comments

PersonalDrive: Personal Cloud Storage

https://personaldrive.xyz/
2•thunderbong•1h ago•1 comments

Implementation of "Writing a C compiler" in Zig

https://github.com/igor84/wcc
2•rguiscard•1h ago•0 comments

Toyota pump tech could be key to hydrogen-combustion practicality

https://www.autocar.co.uk/car-news/technology/toyota-pump-tech-could-be-key-hydrogen-combustion-p...
2•breve•1h ago•0 comments

Track you Claude Code usage in dollars

https://www.claudeusage.com/leaderboard
2•bazarkua•1h ago•1 comments

Seamless iPad (or any device that can run a web browser) drawing into org-mode

https://github.com/larrasket/org-pad.el
1•lr0•1h ago•0 comments

China cracks down on AI companions, forcing millions to break up

https://www.abc.net.au/news/2026-07-19/china-cracks-down-on-artificial-intelligence-companions/10...
3•defrost•2h ago•1 comments