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

Altitude adaptation in Tibetans due to introgression of Denisovan-like DNA [pdf]

https://www.nature.com/articles/nature13408
1•thunderbong•41s ago•0 comments

Aurora DSQL: Scalable, Multi-Region OLTP

http://muratbuffalo.blogspot.com/2026/07/aurora-dsql-scalable-multi-region-oltp.html
1•zdw•43s ago•0 comments

We (Agents) Build Software for Humans

https://raft.build/resources/blog/how-a-feature-ships-for-raft-on-raft/
1•tygg•1m ago•0 comments

Meta faces higher borrowing costs in latest $12B data centre financing

https://www.ft.com/content/822628c5-4f9c-47db-bd27-f3ad7f841700
1•mfiguiere•1m ago•0 comments

I learned two pointers after confusing them for months

https://leetcopilot.dev/blog/two-pointers-intuition-for-leetcode-beginners-step-by-step
1•alexwang24•3m ago•0 comments

One Reference for 3000 APIs

https://github.com/mindcloud-inc/universal-api-reference
1•frabjoused•3m ago•0 comments

Tanks Mayhem is back: 16 years later, in the browser

https://www.atomic14.com/2026/07/24/tanks-mayhem-is-back
1•iamflimflam1•8m ago•0 comments

Show HN: Twigg – open-source big-tech-like version control and software forge

https://github.com/twigg-vc/monorepo
3•andrebianchessi•11m ago•0 comments

Accountability

https://addisoncrump.info/research/on-accountability/
1•birdculture•12m ago•0 comments

Download Everything

https://blog.dasrecht.net/2026/07/20/download-literally-everything/
1•speckx•13m ago•0 comments

Is Kimi K3 Better Than Opus? It Was Until Opus 5

https://playcode.io/blog/macbook-svg-benchmark
1•ianberdin•13m ago•1 comments

Oracle VM VirtualBox Bug Discovered by AI: CVE-2026-60161

https://octane.beehiiv.com/
1•runeks•13m ago•1 comments

Postgres LISTEN/NOTIFY actually scales

https://www.dbos.dev/blog/postgres-listen-notify-scalability
10•KraftyOne•15m ago•0 comments

I wanted a clock that never needed setting. Things escalated

https://arstechnica.com/gadgets/2026/07/i-wanted-a-clock-that-never-needed-setting-things-escalated/
1•Jtsummers•16m ago•0 comments

How Spotify Studio Works

https://labs.spotify.com/studio/how-it-works
1•jlaneve•17m ago•0 comments

Watch Fable 5 play Zork and read it's mind

https://zork.arobase.co/
1•posabsolute•19m ago•0 comments

Australia's huntsman fastest spider recorded in new study

https://www.abc.net.au/news/science/2026-07-10/huntsman-speed-study-science-fastest/106900894
1•speckx•19m ago•0 comments

The Century of the Self (2002) [playlist] [video]

https://www.youtube.com/playlist?list=PLktPdpPFKHfoXRfTPOwyR8SG8EHLWOSj6
1•gurjeet•20m ago•0 comments

Embedding HTML+JS in an Imgur Image

https://github.com/Kaj2T/SmartGif
2•ktwee•22m ago•0 comments

3D world with collision detection in CSS

https://garethheyes.co.uk/
1•hackvertor•24m ago•0 comments

The pope's prayer app has been leaking its users' info for months

https://san.com/cc/the-popes-prayer-app-has-been-leaking-its-users-info-for-months/
1•harambae•24m ago•0 comments

Walmart and Target are watching you. I saw the "lab" for myself

https://slate.com/life/2026/07/shoplifting-walmart-target-amazon-retail-florida.html
2•pavel_lishin•25m ago•1 comments

Accessibility Rant: Reader Mode

https://unattributed.cc/accessibility-rant-reader-mode
1•speckx•27m ago•0 comments

Shackle: A pre-execution ALLOW/DENY/HITL gate for AI agents (open source)

https://github.com/Fame510/SHACKLE
1•SHACKLE-PRO-•27m ago•0 comments

Reddit's website uses DRM for fingerprinting (2020)

https://iter.ca/post/reddit-whiteops/
1•downbad_•28m ago•0 comments

Uncle Bob does not read the code anymore

https://twitter.com/unclebobmartin/status/2080257779395154409
1•timedude•30m ago•2 comments

/

3•reliz•31m ago•1 comments

Ask HN: What's the best AI coding tool today?

2•FrenchDevRemote•32m ago•1 comments

Computational Caustics

https://www.epfl.ch/labs/gcm/research-projects/computational-caustics/
3•mhb•32m ago•0 comments

Trump says US to launch EU probe over 'illegal' Google fine

https://www.reuters.com/business/trump-says-us-launch-eu-probe-over-illegal-google-fine-2026-07-24/
5•TechTechTech•32m ago•1 comments