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 miss crappy AI art

https://blog.alexbeals.com/posts/i-miss-crappy-ai-art
1•dado3212•24s ago•0 comments

Pi Durable on Cloudflare

https://earendil.com/posts/pi-durable-on-cloudflare/
1•doppp•1m ago•0 comments

Christophe Pettus: A Parade of Horribles, in Serial Order

https://thebuild.com/blog/a-parade-of-horribles-in-serial-order/
1•hn1rig3rak•1m ago•0 comments

Elon Musk Is Almost Single-Handedly Funding the Republican Midterms Push

https://www.wired.com/story/elon-musk-is-almost-single-handedly-funding-the-republicans-midterms-...
1•mikelgan•3m ago•0 comments

I Write MiniZinc

https://zayenz.se/blog/post/minizinc-style/
1•ibobev•3m ago•0 comments

C++ and AI at CppCon: We have to use agents – more or less?

https://www.sandordargo.com/blog/2026/10/07/cpp-and-ai-at-cppcon
1•ibobev•3m ago•0 comments

Show HN: An HTTPS-secured WAF in SWI-Prolog. I deployed it on a free-tier GCP

https://prologwaf.site/
1•lokinpendawa•3m ago•0 comments

CKKS – Addition and Multiplication

https://www.jeremykun.com/2026/10/11/ckks-addition-and-multiplication/
1•ibobev•3m ago•0 comments

Did Nintendo Kill Switch Emulation? Yuzu, Ryujinx, and Their Forks in 2026

https://boilingsteam.com/did-nintendo-kill-switch-emulation-the-state-of-yuzu-ryujinx-and-their-f...
1•ekianjo•4m ago•0 comments

China proposes export controls on AI technologies

https://m.bjnews.com.cn/detail/1792137269129878.html
1•supermdguy•4m ago•1 comments

Building AI Products, Feature Factory at 10 – Food for Agile Thought 566

https://age-of-product.com/food-agile-thought-566-building-ai-products/
1•swolpers•5m ago•0 comments

Touch a little grass between prompts

https://stillfield.io/
1•Karajelly•6m ago•0 comments

Preventing port conflicts in Git worktrees using directory hashing

https://wietsevenema.eu/blog/2026/avoiding-port-conflicts-when-using-git-worktree/
1•speckx•6m ago•0 comments

Show HN: Termexo – one AI operating your other coding agents, on Windows

https://github.com/gemron/Termexo
1•gemron•6m ago•0 comments

Would anyone sell a check that at least one house window was locked?

1•chrisjj•7m ago•0 comments

What Makes a Number System?

https://numbersystems.lejdar-lukas.workers.dev/
1•surprisetalk•7m ago•0 comments

Show HN: OneDeploy – Managed open-source apps with nightly backups and TLS

https://onedeploy.co
3•relatedcode•9m ago•0 comments

A story of WiFi secrets, UART lockdowns and a damaged flash memory chip

https://adepts.of0x.cc/eufy-homestation2-firmware/
2•michidk•9m ago•0 comments

Show HN: We built an open source, agent-first, alternative to Profound

https://github.com/Canonry/canonry
2•arberx•9m ago•0 comments

Researchers improve weather forecasts looking two to six weeks out

https://news.mit.edu/2026/researchers-improve-weather-forecasts-looking-two-six-weeks-out-1014
1•gmays•9m ago•0 comments

Making We Tell Stories

https://mssv.net/2026/10/16/making-we-tell-stories/
1•adrianhon•10m ago•0 comments

Ask HN: What's your current MacBook wallpaper?

2•miletus•12m ago•0 comments

Pry, a browser agent that redacts private data before anything reaches AI model

https://chromewebstore.google.com/detail/pry-agent/aocmnoompdjlgbfjlimikkpoebooolog
2•shashank-tomar•12m ago•0 comments

Coiled and Unbothered

https://jxself.org/coiled-and-unbothered.shtml
2•amcclure•14m ago•0 comments

Here's What Telegram Giving Data to the U.S. Government Looks Like

https://www.404media.co/heres-what-telegram-giving-data-to-the-u-s-government-looks-like/
2•jbegley•14m ago•0 comments

How killing cookie banners made the web usable again

https://alex-luebeck.de/blog/2026-03-15-how-killing-cookie-banners-made-the-web-usable-again/
2•stableconfusion•14m ago•1 comments

OpenSpec: A task tracker with a spec attached?

https://askloft.ai/insights/articles/how-good-are-openspec-specs
2•ariloudev•14m ago•0 comments

React Native 0.88

https://reactnative.dev/blog/2026/10/19/react-native-0.88
1•katzenberg•16m ago•0 comments

JEP 545: Faster Startup and Warmup with ZGC

https://openjdk.org/jeps/545
1•ejboy•17m ago•0 comments

What 10k home pages put in their head

https://deadhead.cevdet.ch/blog/what-10000-home-pages-put-in-their-head
1•speckx•17m ago•0 comments