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

I Learned to Stop Worrying and Love the AI

2•ghastmaster•2m ago•0 comments

Tate Brothers extradition hearing delayed until mid January

https://www.independent.co.uk/news/uk/crime/andrew-tate-tristan-tate-extradition-hearing-b3085979...
2•illidan1000•2m ago•0 comments

Unconditional Integer Factorization in Subexponential Time

https://github.com/google-research/google-research/tree/4a7bc8ab0bc770e71a259b7966c500496b99010a/...
1•_alternator_•3m ago•0 comments

The Beauty of CSS Mixins

https://patrickbrosset.com/articles/2026-11-25-the-beauty-of-css-mixins/
1•todsacerdoti•7m ago•0 comments

How I deal with angry and misinformed people

https://citizen-first.org/2026/11/26/how-i-deal-with-angry-and-misinformed-people/
1•kguppta•8m ago•0 comments

But good sir, what is electricity? (2025)

https://blog.coredump.cx/p/but-good-sir-what-is-electricity
1•crescit_eundo•10m ago•0 comments

'Rejection Will Have Consequences': Inside Team Trump's Takeover of Intel

https://www.wired.com/story/inside-trumps-demands-to-another-chips-ceo/
1•qlte•10m ago•1 comments

Claude tries to sabotage research work at every stage

https://twitter.com/skirano/status/2125371115979641188
1•theanonymousone•14m ago•2 comments

Qwen-4-27B-Preview Released on HF

https://huggingface.co/spaces/SUGE212/Qwen-4-27B-Preview
3•helloericsf•14m ago•0 comments

The Last Boring Slide

https://twitter.com/fluxxrider/status/2125622238481371372
1•cmarschner•16m ago•0 comments

Hegseth, Pentagon officials floated using wartime law to reappoint Nvidia CEO

https://www.washingtonpost.com/technology/2026/11/25/hegseth-pentagon-officials-floated-using-war...
1•elffjs•16m ago•0 comments

Amazon says hackers' AI agents found and exploited 0-day with little human input

https://arstechnica.com/security/2026/11/amazon-says-hackers-ai-agents-found-and-exploited-0-day-...
2•gmays•16m ago•0 comments

Show HN: Hush, the fastest computer use for AI agents

https://github.com/OgnjenAdzic28/hush
1•Ogi28•18m ago•0 comments

Typed Indices in Zig

https://lvignoli.eu/posts/2026-11-16-typed-indexes-in-zig/
2•signa11•19m ago•0 comments

Game Autoresearch Bench: Can AI agents train strong game bots on a budget?

https://gameautoresearch.github.io/
1•luu•20m ago•0 comments

A Chinese Town Full of Vibecoders: What Afra Wang Saw in Liangzhu

https://www.bloomberg.com/news/articles/2026-11-23/how-everyday-chinese-people-are-adopting-ai
1•Alien1Being•22m ago•0 comments

History as a Social Feed

https://twitter.com/rakshithxaloori/status/2125811639513690550
1•rakshith_aloori•23m ago•0 comments

Show HN: Talira – Search engine for software, built for AI agents

https://talira.ai/
1•nathan_f77•26m ago•0 comments

Browser Tabs as a Container Runtime

https://fzakaria.com/2026/11/25/browser-tabs-as-a-container-runtime
2•setheron•29m ago•0 comments

A perfectly normal scripting language

https://psychoscript.com/
1•hn-aarvin•31m ago•1 comments

Pause anywhere: OpenCode's new bytecode VM for codemode

https://jamesbox.exe.xyz/vmblog/
2•doppp•33m ago•1 comments

Information Compression Challenges

https://gertlabs.com/challenge
1•gertlabs•43m ago•0 comments

Could astronomers be closing in on a hidden planet beyond Neptune?

https://ras.ac.uk/news-and-press/research-highlights/could-astronomers-be-closing-hidden-planet-b...
1•geox•49m ago•0 comments

Doug Lea's Malloc

https://gee.cs.oswego.edu/dl/html/malloc.html
1•grep_it•55m ago•0 comments

In which a traveling salesman digs π out of LLM temperature math

https://www.hexbites.dev/stories/2026-11-25-pi-from-simulated-annealing.html
1•kromych•1h ago•0 comments

Solar Wanderer – A 1:1 real-time solar system explorer in the browser

https://github.com/hyqzz/Solar-Wanderer
2•JulieZhao00•1h ago•0 comments

A Physical Password Manager that doesn't use the cloud

https://hackaday.io/project/207443-lomenett-usb-password-manager
1•sidkukert•1h ago•0 comments

Usaciv – the United States as a strategy game

https://karpathy.ai/usaciv/
3•gmays•1h ago•0 comments

Why would a country ask to stay least developed?

https://finshots.in/archive/why-would-a-country-ask-to-stay-least-developed/
3•vismit2000•1h ago•0 comments

Qualcomm's Oryon 3 Reaches the Top

https://chipsandcheese.com/p/qualcomms-oryon-3-reaches-the-top
10•wmf•1h ago•0 comments