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: Pacman AI – Generated with Claude Fable 5

https://pacmanai.com/
1•javierluraschi•57s ago•0 comments

Xkcd 2501 Generator

https://marshdeer.github.io/xkcd2501-generator/
1•animal_spirits•1m ago•0 comments

I am planning to drop from college, for the third time

1•alonsovm44•1m ago•0 comments

Everything at Once: Social Media, AI – – – A Digital Safety Commission (Canada)

https://www.michaelgeist.ca/2026/06/everything-all-at-once-bill-c-34-combines-platform-duties-a-k...
2•fidotron•2m ago•0 comments

Lattice Triangles Are Rare

https://axiommath.ai/territory/the-reveal
1•skogstokig•3m ago•0 comments

Sliced bread – "greatest thing since sliced bread"

https://en.wikipedia.org/wiki/Sliced_bread
1•gurjeet•3m ago•0 comments

Antirez on X: I believe what Anthropic is doing is *deeply* wrong

https://twitter.com/antirez/status/2064766429887352971
3•ethanpil•3m ago•1 comments

OmniscientIQ–We Use AI to Bring AI to Your AI

https://omniscientiq.com/
1•jayveeone•5m ago•0 comments

AI agent runs amok in Fedora and elsewhere

https://lwn.net/SubscriberLink/1077035/c7e7c14fbd60fae9/
2•tanelpoder•6m ago•0 comments

Xiaomi MiMo Code

https://mimo.xiaomi.com/mimocode
1•gainsurier•8m ago•0 comments

The Alchemist of Flesh: The Man Who Turned Humans into Stone(2025)

https://medium.com/@Arcaarcana/the-extraordinary-story-of-girolamo-segato-03d8dae30758
1•ofalkaed•10m ago•0 comments

MPs and peers slam YouTube over tube ads blaming parents for kids' screen time

https://www.dailymail.com/news/article-15886603/MPs-peers-anger-YouTube-firm-plasters-Westminster...
1•ivewonyoung•11m ago•0 comments

Palantir cofounder says CEOs are pretending layoffs are about 'AI productivity'

https://www.businessinsider.com/ceos-pretend-layoffs-because-ai-productivity-palantir-cofounder-j...
1•JimsonYang•11m ago•0 comments

Crane from Pocket OS shares his screen [video]

https://www.youtube.com/watch?v=b43PCy3jrsU
1•seanjregan•13m ago•2 comments

My Nintendo DS Broadcasts Radio (Kinda)

https://douxx.blog/my-nintendo-ds-broadcasts-radio-kinda
1•ethanplant•14m ago•0 comments

Fusion Energy Group Seeks PJM Connection for First Commercial Power Plant

https://www.powermag.com/fusion-energy-group-seeks-pjm-connection-for-first-commercial-power-plant/
1•airstrike•15m ago•0 comments

Congress Just Rushed Through a Disastrous Copyright Office Overhaul

https://www.eff.org/deeplinks/2026/06/congress-just-rushed-through-disastrous-copyright-office-ov...
1•Cider9986•16m ago•0 comments

Meta Strips Facial Recognition Code from Smart Glasses App After Public Outcry

https://www.eff.org/deeplinks/2026/06/victory-meta-strips-facial-recognition-code-smart-glasses-a...
1•Cider9986•16m ago•0 comments

How and Why to Fight Back Against Social Media Bans

https://www.eff.org/deeplinks/2026/06/how-and-why-fight-back-against-social-media-bans
2•Cider9986•16m ago•1 comments

Aws.com and google.com don't have DNSSEC enabled

https://gist.github.com/acetousk/3c17d2aefde9175ffef21a8ec4673053
9•moquilabs•19m ago•2 comments

GGUF vs. GPTQ vs. AWQ: The Plain-English Guide to LLM Quantization

https://vettedconsumer.com/gguf-vs-gptq-vs-awq-the-plain-english-guide-to-llm-quantization-and-wh...
1•ermantrout•26m ago•0 comments

Show HN: Nodrix – open-source IoT cloud deployed to your own Cloudflare account

https://github.com/decoded-cipher/nodrix
1•decoded_cipher•28m ago•0 comments

Show HN: Jailbreak this model to get 3B tokens

https://opir.ai/challenge
1•copypirate•28m ago•0 comments

Show HN: Algraf, block-scoped, algebraic grammar-of-graphics DSL

1•williamcotton•35m ago•0 comments

Show HN: Topolog – Plans as typed DAG programs, deadlines computed, not guessed

https://www.topolog.co.uk
1•rohithbv•35m ago•0 comments

Visa adds payment network into ChatGPT, letting AI agents shop and pay for users

https://finance.yahoo.com/sectors/technology/articles/visa-plugs-payment-network-chatgpt-18015054...
1•coffee•36m ago•0 comments

AI: Equalizer or Divider?

1•borissk•39m ago•0 comments

Largest whale graveyard discovered by sub at bottom of ocean

https://www.cbsnews.com/news/whale-graveyard-discovered-sub-bottom-ocean/
2•Vaslo•39m ago•0 comments

Radix Top-K: finding the top-k elements in an array without sorting

https://veitner.bearblog.dev/radix-top-k/
1•matt_d•41m ago•0 comments

Deficient executive control in transformer attention

https://academic.oup.com/pnasnexus/article/5/6/pgag149/8698838
6•derbOac•41m ago•2 comments