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

Fun fact: HTML DOM addEventListener discards duplicates

https://devblogs.microsoft.com/oldnewthing/20261204-32/?p=112926/
1•dverlaeckt80•1m ago•0 comments

Metronomes in JavaScript (2019)

https://meowni.ca/posts/metronomes/
1•dverlaeckt80•1m ago•0 comments

Find the queries behind your Databricks SQL bill

https://medium.com/@yanivleven/find-the-queries-behind-your-databricks-sql-bill-760230dc15d4
1•yanivleven•3m ago•0 comments

Show HN: Run-tool, keeps shell output out of Claude Code context

https://github.com/ibrahim-bayer/claude-code-token-optimization-by-tool-call
1•ibrahimbayer•4m ago•0 comments

Delete the Paper, Beat the Authors: Introducing FrontierCS 2 (Benchmark)

https://bair.berkeley.edu/blog/2026/12/03/fcs2/
1•charlie42•4m ago•0 comments

WorldWordMap – type a word, see it translated across a world map

https://worldwordmap.com/
1•tkachenko•18m ago•1 comments

ChiliTown – Meme ranking using a custom Scoville scoring algorithm

https://chilitown.org
1•paxcto•25m ago•1 comments

Free check for leaked API keys in webapps

https://reseal.app/check/
2•Toostic•26m ago•1 comments

A pentester's view on Problematic Crypto Math

https://cookie.engineer/weblog/articles/problematic-cryptography-math.html
1•cookiengineer•30m ago•0 comments

A €7.98 LED strip from Action now follows my kids' screens

https://blog.hagebols.com/posts/action-led-strip-follows-the-screen/
1•decide1000•35m ago•0 comments

Wall Street prepares to pull an all-nighter on stock trading

https://www.ft.com/content/bc842478-fa8b-45c4-b277-7ae26898cf2f
1•xbmcuser•37m ago•0 comments

Show HN: I have $200 Claude API credits

https://www.5year.art/wall/
2•indest•40m ago•0 comments

Show HN: We passively audited 100 indie apps (77% fail DMARC, 40% lack headers)

https://shipbastion.com/benchmarks/100-indie-apps
1•shipbastion•40m ago•0 comments

Yggthreads: Names as the Database (Proof of Concept)

https://github.com/peterretief/yggthreads
1•peter_retief•51m ago•0 comments

Mindustry: Open-source automation sandbox tower-defense game

https://mindustrygame.github.io/
1•mnaimd•1h ago•0 comments

Pixel Drift: 2d Top-Down Racer

https://drift.lucasian.tech/
1•lucasian•1h ago•0 comments

Intel confirms unfixable Hyper-Threading flaw in several CPUs

https://tldrdailynews.com/news/technology/technology/intel-confirms-unfixable-hyper-threading-fla...
10•lucamark•1h ago•2 comments

UC freshmen are failing math because students lack 'basic principles of logic,'

https://www.thecollegefix.com/uc-freshmen-are-failing-math-because-students-lack-basic-principles...
3•porridgeraisin•1h ago•0 comments

Age encryption is now post-quantum by default

https://age-encryption.org/pq-warning
2•thisisauserid•1h ago•0 comments

Hermitbox: Sandboxes for your agents, on your machines

https://hermitbox.dev/
2•v0id_user•1h ago•0 comments

Decision models play Terry Riley's In C

https://soundafter.com/in-c/
2•jkrukowski•1h ago•0 comments

Balltoss – Comma.ai Challenge

https://blog.comma.ai/balltoss/
2•puffinman•1h ago•0 comments

Every search API is the best when the answers are known

https://brave.com/blog/search-api-benchmarks/
1•hubraumhugo•1h ago•1 comments

Agent Barter

https://github.com/brinker-ai/agent-barter
2•breiner•1h ago•1 comments

We don't need an agent orchestrator. iTerm2 is enough

https://github.com/mkagenius/terminal-skinner
1•mkagenius•1h ago•0 comments

Building Laminar

https://builders.ramp.com/post/building-laminar
1•theahura•1h ago•0 comments

To get a great exit, don't build for an exit

https://longform.asmartbear.com/exit-strategy/
1•apparent•1h ago•0 comments

Show HN: Catch Gist – Hear a 45s gist of any PDF or webpage, ask follow-ups

https://catchgist.com/
1•Jessicazhouzhou•1h ago•0 comments

I'm looking for a group to discuss CS and share growth and fun

2•squareCreator•1h ago•1 comments

Ask HN: Which is the best harness for Qwen4 models?

1•reddmachine•1h ago•1 comments