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: VeloIQ – An internal OS to build full-stack FastAPI apps in minutes

https://veloiq.dev
1•cesarlugos1s•4m ago•0 comments

DevRel is becoming a freelance job now? (India specific)

1•arpansac•9m ago•0 comments

Study Finds Competitors Share Directors More Often Than Previously Known

https://law.stanford.edu/press/award-winning-antitrust-study-finds-competitors-share-directors-fa...
1•toomuchtodo•10m ago•1 comments

Foreign business owners are scrambling to raise capital to stay in Japan

https://tokyopaladin.substack.com/p/foreign-business-owners-are-scrambling
1•zdw•11m ago•0 comments

Device Clock Generation

https://zipcpu.com/blog/2025/12/17/devclk.html
2•mfiguiere•12m ago•0 comments

Git v2.55 will release with Rust support enabled by default

https://lore.kernel.org/lkml/xmqqik7pqeiq.fsf@gitster.g/
1•tapanjk•16m ago•0 comments

AppList – Minimalist App Launcher for iPhone

https://sxp.studio/apps/applist
1•gurjeet•16m ago•0 comments

Ask HN: Is anyone running AI agents in production reliably – what's your stack?

2•nehpets•25m ago•0 comments

I built a fast, edge-native personal site with Astro, Cloudflare D1, and R2

https://www.noahhan.com/
1•Felomeng•26m ago•0 comments

InkyCap – Typst-based PKM for academics, writers, and everyone

https://inkycap.org/
1•nikolay•27m ago•1 comments

The Normalization of Deviance in AI

https://embracethered.com/blog/posts/2025/the-normalization-of-deviance-in-ai/
1•gurjeet•32m ago•0 comments

Koalas at risk of death once seven-day temperatures rise beyond 27C

https://www.abc.net.au/news/science/2026-05-27/koala-deaths-linked-to-a-few-extra-degrees-of-heat...
4•bryanrasmussen•39m ago•0 comments

Linear Coding Sessions

https://linear.app/docs/coding-sessions
2•samtheprogram•39m ago•0 comments

Reading Is a System

https://docs.google.com/presentation/d/1rPX2rZ80CmHJCKZBziS1BtdodQM4NJhkNIz8EhF9nHM/edit?usp=sharing
1•_bramses•45m ago•1 comments

Tesla gets go-ahead to sell self-driving technology in Belgium

https://www.reuters.com/business/autos-transportation/tesla-gets-go-ahead-sell-self-driving-techn...
1•andsoitis•45m ago•0 comments

Blindzone Glare Elimination Mirror Method [pdf]

https://www.nhtsa.gov/sites/nhtsa.gov/files/blindzoneglaremirrormethod.pdf
1•thunderbong•45m ago•0 comments

Sophia NLU Home Assistant – On Device, Low Compute, No Internet, Voice Assistant

2•aquila416•47m ago•0 comments

A 60fps eInk Monitor, the Modos Flow [video]

https://www.youtube.com/watch?v=nHbA2-_qzH4
3•razorbeamz•50m ago•1 comments

Stdx, Rust's extended standard library

https://kerkour.com/stdx
2•manyatoms•50m ago•0 comments

Harry's Game (ITV, 1982)

https://archive.org/details/harrys-game-episode-2
1•petethomas•53m ago•0 comments

Simplify: Move Code into Database Functions

https://sive.rs/pg
2•privong•53m ago•0 comments

Voronoi Village

https://wwwtyro.github.io/voronoi-village/
2•wwwtyro•59m ago•1 comments

Katja Hoyer on Weimar, the GDR, and the German Character (Ep. 279)

https://conversationswithtyler.com/episodes/katja-hoyer/
1•paulpauper•1h ago•0 comments

Engineers aren't afraid of AI – they're afraid of becoming junior again

https://www.andykelk.net/leadership/your-engineers-arent-afraid-of-ai-theyre-afraid-of-being-juni...
3•mopoke•1h ago•0 comments

Built to benefit everyone: our plan

https://openai.com/index/built-to-benefit-everyone-our-plan/
2•gmays•1h ago•0 comments

ShieldMCP – Security scanner for your MCP config

https://shieldmcp.net
2•ccellcdev•1h ago•0 comments

Show HN: MandoCode – local-first AI coding agent (.NET and Ollama)

https://github.com/DevMando/MandoCode
1•devmando•1h ago•0 comments

Are you ready to admit it's the phones?

https://www.noahpinion.blog/p/are-you-finally-ready-to-admit-its
5•paulpauper•1h ago•0 comments

A simple reason for skepticism about the iPhones/fertility link

https://marginalrevolution.com/marginalrevolution/2026/06/a-simple-reason-for-skepticism-about-th...
2•paulpauper•1h ago•0 comments

What is the most sophisticated piece of software ever written?

https://www.quora.com/What-is-the-most-sophisticated-piece-of-software-ever-written-1/answer/John...
1•sorentwo•1h ago•0 comments