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

Theoretical Limit of Image Compression [video]

https://www.youtube.com/watch?v=W39hBPOk9Hk
1•eln1•31s ago•0 comments

MSK – an AI agent that thinks like a CTO

https://apps.apple.com/us/app/msk-ai-cto-agent/id6778822216
1•moeidsaleem•2m ago•0 comments

Eternal Dogfooders: How is the child of Aha turns furry

https://rwhu.helluvaos.com/posts/what-to-eat-as-a-dog-inside-google
1•shscs911•3m ago•1 comments

Inside the secret AI war between Silicon Valley and China

https://www.washingtonpost.com/national-security/2026/07/06/why-anthropic-alleges-chinese-firms-a...
1•breve•9m ago•0 comments

Tell HN: Fable guardrails trigger on random questions

1•nocoder•22m ago•0 comments

Show HN: Rules-free solo-only client for the Paperback tabletop game

https://wanderinghorse.net/gaming/paperback/solo.html
1•sgbeal•25m ago•0 comments

AI found a Linux root bug that was missed for 15 years

https://www.wired.com/story/security-news-this-week-ai-found-a-root-bug-in-linux-that-everyone-mi...
1•crowd51•32m ago•0 comments

The ancient Chinese way to cool homes (2023)

https://www.bbc.com/future/article/20230712-how-ancient-skywells-are-keeping-chinese-homes-cool
2•1659447091•35m ago•0 comments

DeepSeek developing its own AI chip, sources say

https://www.reuters.com/world/china/chinas-deepseek-developing-its-own-ai-chip-sources-say-2026-0...
3•theanonymousone•35m ago•0 comments

Show HN: Mindwalk – Replay coding-agent sessions on a 3D map of your codebase

https://github.com/cosmtrek/mindwalk
1•cosmtrek•37m ago•0 comments

An open letter to the Medici of intelligence

https://www.sov.vc/blog/the-next-frontier-sovereignty
1•abreckle•38m ago•0 comments

What Happens Inside DynamoDB When You Hit 3000 RCU on a Single Partition Key

https://medium.com/@yalovoy/what-happens-inside-dynamodb-when-you-hit-3000-rcu-on-a-single-partit...
1•zero-ground-445•38m ago•0 comments

Vinod Khosla to Buy Seattle Seahawks for $9.6B

https://www.sportico.com/business/team-sales/2026/seattle-seahawks-sale-vinod-khosla-owner-billio...
3•kpw94•40m ago•0 comments

Ask HN: How do you manage content for React-based websites?

1•admininistratos•41m ago•1 comments

Who cleans up after the vibe-coding party?

https://www.ft.com/content/cec8df9e-b43b-4cd1-8feb-c07e804e8d33
2•jweir•44m ago•1 comments

Boeing 737 window dislodged, passenger partially sucked out

https://www.reuters.com/business/ryanair-plane-makes-emergency-landing-greece-after-window-dislod...
2•smallnix•53m ago•0 comments

BSD Make Extravaganza

https://github.com/b-aaz/bmake-extravaganza
1•signa11•54m ago•0 comments

Where Tomorrow's Engineers Come From, Part 2: The Apprenticeship Problem

https://www.abovethertl.com/p/where-tomorrows-engineers-come-from-b71
2•rramadass•56m ago•1 comments

How Container Networking Works: Building a Bridge Network from Scratch

https://labs.iximiuz.com/tutorials/container-networking-from-scratch
1•signa11•58m ago•0 comments

Colleges have an education problem (2025)

https://12gramsofcarbon.com/p/colleges-have-an-education-problem
2•theahura•1h ago•0 comments

Show HN: Skiff, a frontier isochrone tuning simulation for sailboats

https://github.com/deepbluedynamics/skiff
4•kordlessagain•1h ago•1 comments

Alphaville LLC initiates coverage of SpaceX with Buy recommendation

https://www.ft.com/content/1344d22b-ee64-488d-bd02-170fe0c9de2b
2•imichael•1h ago•0 comments

Taste

https://katdispatch.bearblog.dev/on-taste/
2•JumpCrisscross•1h ago•0 comments

Cpp-Go-Zig-Odin: A series of small programs/tasks to compare

https://github.com/phillvancejr/Cpp-Go-Zig-Odin
1•ksec•1h ago•0 comments

UK Cybercrime Journal: Argos Account Takeover Fraud

https://blog.bushidotoken.net/2026/07/uk-cybercrime-journal-argos-account.html
1•diedose•1h ago•0 comments

Ask HN: Do your tests clear "If the tests pass, you cannot break the code" bar?

1•tristenharr•1h ago•1 comments

Show HN: AsyncFutures – A Ruby gem for asynchronous/concurrent code execution

https://rubygems.org/gems/async_futures/versions/0.1.2
1•eestrada•1h ago•0 comments

Proof of Concept for the recent Litematica path traversal bug which leads to RCE

https://github.com/AliensToEarth/litematica-rce
2•Cider9986•1h ago•0 comments

Built a tracker to estimate water wastage when talking to Claude

https://github.com/piyushkhemka/sip
1•piyushkhemka•1h ago•0 comments

BMW Warns of Unauthorized Production of 'Pirated' Cars in Russia

https://www.themoscowtimes.com/2026/07/11/bmw-warns-of-unauthorized-production-of-pirated-cars-in...
2•_____k•1h ago•0 comments