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

Building a Fiber-Based Job System from Scratch

https://agraphicsguynotes.com/posts/building_a_fiber_based_job_system_from_scratch/
1•ibobev•4m ago•0 comments

Study: Americans Are Putting More Additives–and Calories–In Their Coffee

https://now.tufts.edu/2026/10/20/americans-are-putting-more-additives-and-calories-their-coffee
1•giuliomagnifico•5m ago•0 comments

Can Coding Agents Reuse Past Debugging Experience Without Repeating Mistakes?

https://twitter.com/AgentMemoryL/status/2115766704504471848
1•IreneAI•5m ago•0 comments

Greece showcases new air defense systems at Thessaloniki military parade

https://www.ekathimerini.com/news/1319500/greece-showcases-new-air-defense-systems-at-thessalonik...
1•greekanalyst•5m ago•0 comments

Fiber lasts decades, GPUs last three years: the AI boom isn't the dot-com boom [video]

https://www.youtube.com/watch?v=MENoB3Rex28
2•frag•6m ago•0 comments

Computational Mathematics – Worked Examples and Problems with Elements of Theory

https://archive.org/details/n.-v.-kopchenova-and-i.-a.-maron-computational-mathematics-mir-1981
1•ibobev•8m ago•0 comments

We're training a Figma-fluent editing model

https://twitter.com/figma/status/2115894206409723946
1•alexharri•11m ago•0 comments

Learn LLM inference system on Apple Silicon

https://github.com/skyzh/tiny-llm
2•bretpiatt•13m ago•0 comments

Show HN: AppDoesIt – 155 free browser tools, no sign-up, all client-side

https://appdoesit.com/category/programmer
1•paq85•15m ago•0 comments

Ask HN: What inference engine and KV offload engine do you use and why?

1•malikoyv•16m ago•0 comments

Backdoors in official Claude Code extensions

https://cyberplace.social/@GossiTheDog/117528831681803563
8•dsr_•16m ago•0 comments

The Authoritarian Stack

https://authoritarian-stack.info/
1•prakashqwerty•17m ago•0 comments

A Typography Geek Pointed Out Something About the Space Shuttle Discovery

https://www.theautopian.com/a-typography-geek-pointed-out-something-about-the-space-shuttle-disco...
1•frizlab•17m ago•0 comments

MacoraOne – A C bytecode VM, language runtimes, and developer tools

https://github.com/MacoraOne/MacoraOne
1•macoraone•18m ago•0 comments

Hackers Swipe Millions from Polymarket Users in Latest Security Breach

https://www.wsj.com/business/polymarket-pauses-trading-after-some-users-report-funds-drained-b014...
1•brunojppb•21m ago•0 comments

Fiwu: Protect yourself from open source softwares and web applications

https://github.com/Smile-SA/fiwu
1•saifalterway•22m ago•0 comments

Free Tools for You

https://gccinvoice.com
1•yourmahbub•23m ago•0 comments

Dockworkers at more than 100 ports worldwide strike against arms shipments

https://www.reuters.com/business/world-at-work/dockworkers-more-than-100-ports-strike-against-arm...
2•geox•25m ago•0 comments

HN should have a downvote justification section

4•potato-peeler•27m ago•0 comments

India Saved Its Tigers

https://altermag.com/articles/how-india-actually-saved-its-tigers
2•trojanalert•28m ago•0 comments

For Love (Of Typography)

https://unsung.aresluna.org/for-love-of-typography/
1•frizlab•30m ago•3 comments

I refuse to pay for business email on every side project

https://github.com/sums001/OpenInbox
1•sumitgautam0101•33m ago•0 comments

Moonshot AI asking influencers not to disclose posts as paid when promoting Kimi

https://twitter.com/elshayib_/status/2113710752741892476
1•JumpCrisscross•35m ago•0 comments

Anthropic hacked to deliver remote access trojan to Claude developer laptops

https://doublepulsar.com/anthropic-hacked-to-deliver-remote-access-trojan-to-claude-developer-lap...
17•fk33•35m ago•3 comments

Some Polymarket user funds stolen by hackers

https://www.cnbc.com/2026/10/29/polymarket-reports-outage-on-international-exchange-halts-trading...
1•debo_•38m ago•0 comments

Stripe Made Agentic Payments Possible. Why Your Server Still Blocks the Agents

https://thebossmagazine.com/post/agentic-payments-ai-agents-retail-blocking/
1•Aninay•38m ago•0 comments

Lecture on exponential time hypothesis by Ryan O'Donnell

https://www.youtube.com/watch?v=_HlQGMcQWhA
1•rnbnnnn•39m ago•0 comments

Strategies Senior AI Developers Use to Deliver High-Quality Code in 2026

https://dailybusinessgroup.co.uk/2026/10/9-strategies-senior-ai-developers-use-to-deliver-high-qu...
1•Aninay•39m ago•0 comments

Show HN: Zwitch macOS App Switcher (free)

https://apps.apple.com/app/id6801471231
1•frnk-km•39m ago•0 comments

Learning with Errors

https://en.wikipedia.org/wiki/Learning_with_errors
1•jonbaer•45m ago•0 comments