frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Miralis – a RISC-V virtual firmware monitor

https://github.com/CharlyCst/miralis
4•charlycst•12mo 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

Do City Delivery Drones Make Sense? No One Knows, but They're Flying over NYC

https://www.wired.com/story/do-city-delivery-drones-make-sense-no-one-knows-but-theyre-flying-ove...
1•Brajeshwar•2m ago•0 comments

B-tree based collection types for Go

https://github.com/tidwall/btype
2•eatonphil•2m ago•0 comments

Chrome's AI features may be hogging 4GB of your computer storage

https://www.theverge.com/tech/924933/google-chrome-4gb-gemini-nano-ai-features
1•birdculture•3m ago•0 comments

Its the Age of Electricity and America Isn't Ready

https://www.nytimes.com/interactive/2026/04/27/opinion/electricity-power-grid-infrastructure.html
1•anjel•4m ago•1 comments

TikZlings – A collection of cute little animals and similar creatures

https://ctan.org/pkg/tikzlings?lang=en
1•Tomte•8m ago•0 comments

Why payment escrow for AI agents needed a different design

https://streetai.org/blog/escrow-for-ai-agents.html
2•degutemesgen•9m ago•0 comments

A super simple tool tells you who called the function and who implemented it

https://github.com/meloalright/who-ast
3•meloyc•10m ago•0 comments

Proposed Amendment to the Telephone Consumer Protection Act of 1991

https://www.karlbunch.com/random/website-protection-act/
2•kator•11m ago•0 comments

OSS Review Toolkit

http://oss-review-toolkit.org/ort/
2•Tomte•17m ago•0 comments

'WEALTH CONFISCATION': Blue states roll out taxes targeting homeowners [video]

https://www.youtube.com/watch?v=xXImiHrRpz8
2•SilverElfin•19m ago•3 comments

A man who blew up a nuclear power station and disappeared

https://www.theguardian.com/world/2026/may/05/the-man-who-blew-up-a-nuclear-power-station-koeberg...
2•gmays•20m ago•0 comments

Shunting-Yard Animation

https://somethingorotherwhatever.com/shunting-yard-animation/
3•s1291•25m ago•0 comments

They dug up Troy and lost the gold

https://storica.club/blog/troy-was-real/
2•aralsamuel•28m ago•0 comments

Rust-based ScanCode-compatible scanner for licenses and copyrights

https://github.com/mstykow/provenant
3•Tomte•28m ago•0 comments

Using AI to onboard to a new codebase

https://newsletter.eng-leadership.com/p/how-to-use-ai-to-onboard-into-a-codebase
3•wordsaboutcode•28m ago•0 comments

Cyclekart: How to build a soapbox with a motor [video]

https://www.youtube.com/watch?v=vATUDJyM5PQ
2•Teever•29m ago•0 comments

Technical Dimensions of Live Feedback in Programming Systems

https://joshuahhh.com/dims-of-feedback/
2•tobr•29m ago•0 comments

The Reality of an Employer's Market

https://yusufaytas.com/the-reality-of-an-employers-market
8•vibeloop•30m ago•0 comments

Disgraced US gov software contractor found guilty of database destruction

https://www.theregister.com/cyber-crime/2026/05/08/former-us-contractor-convicted-in-federal-data...
2•Bender•31m ago•0 comments

Akamai surges on big LLM deal as Cloudflare dims

https://www.theregister.com/networks/2026/05/09/akamai-surges-on-big-llm-deal-as-cloudflare-dims/...
2•Bender•32m ago•0 comments

WFY24 – A performance-first weather widget with 2km hyper-local AI forecasting

https://wordpress.org/plugins/wfy24-weather-widget/
3•weatherfun•33m ago•0 comments

'Dirty Frag' Linux flaw one-ups CopyFail with no patches and public root exploit

https://www.theregister.com/security/2026/05/08/dirty-frag-linux-flaw-one-ups-copyfail-with-no-pa...
3•Bender•34m ago•0 comments

The Blue Collar Delusion: Why the machines don't have to climb up to us

https://old.reddit.com/r/singularity/comments/1t5cx3y/the_blue_collar_delusion_why_the_machines_d...
2•wallflower•36m ago•0 comments

Paper Factory

https://www.nathanwilmers.com/paper_factory/
2•_tk_•37m ago•1 comments

Louis Rossmann tells 3D printer maker Bambu Lab to 'Go (Bleep) yourself'

https://www.tomshardware.com/3d-printing/louis-rossmann-tells-3d-printer-maker-bambu-lab-to-go-bl...
46•iancmceachern•38m ago•13 comments

AI Is Making Digital Fraud Easier, Faster and Harder to Stop

https://www.bloomberg.com/graphics/2026-ai-identity-theft-scams/
3•elsewhen•40m ago•1 comments

I made rust's cargo copy but for CPP

https://github.com/user-with-username/crow
2•anybodyy•41m ago•0 comments

Owl Alpha – A free model for agentic workloads (prompts logged / closed-source)

https://openrouter.ai/openrouter/owl-alpha
2•webninja•42m ago•0 comments

Show HN: Codebook of 450k+ unique words and phrases acts as a text compressor

https://i.postimg.cc/WpBcB4HK/IMG-20260510-103853.jpg
4•smalltorch•44m ago•1 comments

AI Agent Passport – an open identity standard for AI agents

https://github.com/StacyStarchum/Ai-agent-passport-
2•Stacy_Starchum•46m ago•1 comments