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

Extraterritoriality

https://en.wikipedia.org/wiki/Extraterritoriality
1•peter_d_sherman•4m ago•0 comments

The only floating national park [video]

https://www.bbc.com/reel/video/p0nb7pnb/watch
1•koolhead17•4m ago•0 comments

Show HN: Ditdah – A Morse App for the Terminal

https://encse.github.io/ditdah/
1•encse•11m ago•0 comments

Opportunity Cost in Strategy Games

https://blog.idleverse.gg/opportunity-cost-in-strategy-games/
1•jonbaer•12m ago•0 comments

Unlocking hidden revenue streams with market models

https://www.technologyreview.com/2026/08/20/1142070/unlocking-hidden-revenue-streams-with-market-...
2•joozio•13m ago•0 comments

Fast is better than slow

https://dubroy.com/blog/fast-is-better-than-slow/
1•fagnerbrack•14m ago•0 comments

Show HN: 2048bid.lol – Rank your product by playing 2048

https://2048bid.lol/
1•voladd•15m ago•0 comments

Ask HN: What websites do you visit daily to stay informed?

2•chistev•19m ago•0 comments

Show HN: Leaderbid – Pay to Rank Leaderboard

https://leaderbid.lol
2•docuru•23m ago•0 comments

What Makes Australia Australia?

https://walkingtheworld.substack.com/p/what-makes-australia-australia
3•Michelangelo11•26m ago•0 comments

Simulating the Information Horizon in Chaos

https://github.com/rayrrr21/Structure-of-Reality
2•rayrrrr•27m ago•0 comments

Show HN: SubtitleGenerator - Fix subtitles with a low-confidence review queue

https://subtitlegenerator.app
2•mujia•27m ago•0 comments

Postgres 19: What's new in Monitoring?

https://clickhouse.com/blog/postgres-19-monitoring-whats-new
2•saisrirampur•27m ago•0 comments

James Munkres (1930-2026)

https://www.douglassfh.com/obituary/james-munkres
2•pykello•31m ago•0 comments

Eliminating Branches in C++ Loops

https://www.yagiz.co/eliminating-branches-in-cpp-loops
2•mfiguiere•33m ago•0 comments

Wi-Fi 8 is the first wireless upgrade in years that isn't chasing speed

https://www.xda-developers.com/wi-fi-8-first-wireless-upgrade-years-isnt-chasing-speed-home-netwo...
29•taubek•33m ago•7 comments

China joins Europe in scrapping Windows for Linux

https://www.zdnet.com/article/china-drops-windows-for-linux/
2•dotcoma•35m ago•0 comments

The market is underpricing memory bandwidth

https://tradestie.com/news/the-market-is-underpricing-memory-bandwidth-20260823/
2•abhiphull•37m ago•0 comments

Download Embabi Games

https://egyapk.com/games/embabi-games/
2•l33tcy•39m ago•0 comments

An Unlikely Experiment

https://rushed-reflections.bearblog.dev/an-unlikely-experiment/
3•signa11•43m ago•0 comments

Best free TikTok video downloader

https://tiktokdownload.org
2•mrwakey•43m ago•0 comments

Oura smart ring sued: sleep-tracking accuracy is wildly exaggerated

https://qz.com/oura-ring-class-action-lawsuit-sleep-tracking-accuracy-082126
4•mgh2•44m ago•0 comments

Hotel Infinity (2014)

https://www.youtube.com/playlist?list=PLb6mUUuKMKFnNtVC_orYqZxmAm48qIFDI
1•NAR8789•48m ago•0 comments

Cache-Control for LLMs

https://www.gojiberries.io/cache-control-for-llms/
1•neehao•49m ago•0 comments

Wild AI-related reliability incidents are coming

https://surfingcomplexity.blog/2026/08/22/wild-ai-related-reliability-incidents-are-coming/
2•azhenley•51m ago•0 comments

Harvard Is Selling a $699 Course Taught by A.I. Clones of Its Faculty

https://www.nytimes.com/2026/08/22/business/dealbook/harvard-ai-faculty.html
2•pjmlp•58m ago•0 comments

This Silicon Valley campus was a paradise. Bulldoze it

https://sfstandard.com/opinion/2026/08/22/sunset-magazine-menlo-park-campus-torn-down/
5•littlexsparkee•1h ago•4 comments

Becoming a Writer

https://hughhowey.com/writing-insights-part-one-becoming-a-writer/
1•js2•1h ago•0 comments

Risk of transmission of amyloid β pathology via transfused blood products

https://doi.org/10.1016/S0140-6736(26)00767-1
2•sbulaev•1h ago•0 comments

JIT Compiling Code in 5μs

https://malisper.me/jit-compiling-code-in-5-us/
14•zX41ZdbW•1h ago•0 comments