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

Show HN: Npx.tools, a keyboard-friendly index of developer tools

https://npx.tools/
1•hasnainkhagan•3m ago•0 comments

AI as a Lifestyle Choice

https://grahamdumpleton.me/posts/2026/11/ai-as-a-lifestyle-choice/
1•Karrot_Kream•14m ago•0 comments

California Nvidia Probe Covers Potential Criminal Law Violations

https://www.bloomberg.com/news/articles/2026-11-21/california-nvidia-probe-covers-potential-crimi...
1•petethomas•16m ago•0 comments

Ask HN: What made you pivot your interest to the field of AI?

3•learner_yearner•23m ago•0 comments

The Explorer Pattern for product invention and development

https://lethain.com/explorer-pattern/
1•gpi•23m ago•0 comments

Replaced PTX with MLIR, cutting asm regions from 499 to 81 across 20 kernels

https://vxlang.org/blog/handing-the-ptx-back-to-the-compiler.html
3•reshabh•23m ago•0 comments

San Francisco Braces for Record Tides as Mayor Urges Residents to Stay Put

https://kfn.one/news/san-francisco-braces-for-record-tides-as-mayor-urges-1d795047
1•reena•24m ago•0 comments

Back Pain (2021)

https://www.thomas-huehn.com/back-pain/
1•Curiositry•25m ago•0 comments

AI Supply Chain Security: What Canary Tokens Found

https://www.dragos.com/blog/ai-supply-chain-security-canary-tokens
2•kristianp•31m ago•0 comments

Replaying an agent run and what it takes

https://github.com/chizy7/tether/blob/master/docs/REPLAY.md
1•chizy7•31m ago•0 comments

Trump threatens penalties for US tech firms that build datacenters abroad

https://www.theguardian.com/us-news/2026/nov/20/trump-datacenters-white-house
1•Pxtl•32m ago•0 comments

AiDotNet – Comprehensive AI/ML Framework for .NET

https://github.com/ooples/AiDotNet
2•olvy0•36m ago•0 comments

Why founders say launch directories send little traffic, and how they judge them

https://mambatxhub.com
1•aishabethuel127•37m ago•0 comments

Strangler pattern, a powerful simple concept to do refactoring (2019)

https://martinfowler.com/bliki/StranglerFigApplication.html
1•zenincognito•41m ago•0 comments

ING's $500M Data Center Loan Auction Stalls on Weak Demand

https://www.bloomberg.com/news/articles/2026-11-20/ing-s-500-million-data-center-loan-auction-sta...
1•cobychapple•43m ago•0 comments

Job ghosting: What applicants can do if employers do not respond

https://www.bbc.com/news/articles/cm2d94le23xyo
3•rustoo•43m ago•0 comments

Userscript managers in 2026: what Manifest V3 changed

https://www.softwr.com/news/best-userscript-managers
2•peter_d_sherman•45m ago•1 comments

"Dumbass" RFK Jr. Rescued Measles from Obscurity. What Horror Is Next?

https://newrepublic.com/post/218245/rfk-jr-measles-trump-outbreak
10•petethomas•52m ago•2 comments

What It Looks Like to Parent Without Gender

https://www.thenation.com/article/society/what-it-looks-like-to-parent-without-gender/
2•petethomas•54m ago•0 comments

One Vulnearbility Hacks Google, WordPress, Roundcube, Debian 13, Zoom, Box, etc.

https://pwn.ai/upload2shell/research.html
3•lovetoseeitgeth•1h ago•1 comments

A Collision for 38-Step SHA-256

https://eprint.iacr.org/2026/2913
1•gslin•1h ago•0 comments

NixOS bring-up on an Alibaba RISC-V board

https://feyor.sh/blog/nixos-bringup-on-an-alibaba-riscv-board/
2•todsacerdoti•1h ago•1 comments

Trump at the "Summit": One of His Dumbest Moments in the Last 10 Years

https://newrepublic.com/post/218235/trump-summit-xi-putin-nuclear
5•petethomas•1h ago•0 comments

Show HN: Vouch – See what AI assistants say about your brand mid-conversation

https://vouchgeo.com
1•samratkar•1h ago•0 comments

Thought Experiment: How Could One Save Nauru?

1•Kurio•1h ago•1 comments

Fast-Anything: Don't rewrite it in Rust. Rewrite the 5% that's slow

https://github.com/EL4CTEO/fast-anything
2•BaselAshraf81•1h ago•0 comments

Waymo plows through crossing gate after getting stuck on train tracks [video]

https://www.youtube.com/shorts/UiNIHWfbPRQ
1•mikhael•1h ago•1 comments

Toyota, Nissan, and Honda to Standardize Parts to Lower Costs

https://www.caranddriver.com/news/a74490092/toyota-nissan-honda-standardize-parts-lower-costs/
152•zdw•1h ago•76 comments

Five Kinds of Organizational Debt

https://www.constellaryhq.com/articles/five-kinds-of-organizational-debt
1•fagnerbrack•1h ago•0 comments

Japan-Inspired Tetris Game

https://daycarp.com/misc/linestokyoto/
2•coffeethursday•1h ago•0 comments