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•11mo 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

DockLock Pro – Stop macOS Dock from Jumping Screens

https://docklockpro.com/
1•usui•3m ago•0 comments

OpenAI's GPT-5.4 Pro reportedly solves an open Erdős problem in two hours

https://the-decoder.com/openais-gpt-5-4-pro-reportedly-solves-a-longstanding-open-erdos-math-prob...
1•voisin•3m ago•0 comments

Wikipedia: AI or Not Quiz

https://en.wikipedia.org/wiki/Wikipedia:AI_or_not_quiz
1•alibarber•5m ago•0 comments

ReSyn: A Generalized Recursive Regular Expression Synthesis Framework

https://arxiv.org/abs/2603.24624
1•PaulHoule•5m ago•0 comments

2-day-old GitHub account added AI-generated dependency to Mailgen (2.5k stars)

https://github.com/eladnava/mailgen/pull/86
1•foray1010•8m ago•1 comments

Anti-Amyloid Antibodies for Alzheimer: You Know

https://www.science.org/content/blog-post/anti-amyloid-antibodies-alzheimer-you-already-know
2•u1hcw9nx•14m ago•1 comments

Tesla is facing up to $14.5B in lawsuits – and it's only getting worse

https://electrek.co/2026/04/16/tesla-facing-up-to-14-billion-lawsuits-deep-dive/
2•breve•16m ago•0 comments

The Feeling of Power – Isaac Asimov

https://hex.ooo/library/power.html
1•MSFT_Edging•17m ago•0 comments

Floating Point Fun on Cortex-M Processors

https://danielmangum.com/posts/floating-point-cortex-m/
1•hasheddan•19m ago•0 comments

Local LLM agent with persistent memory and learnable skills

https://github.com/nevenkordic/localmind
1•yotta25•21m ago•0 comments

Interviewing Japanese about Trump's Pearl Harbor Response [video]

https://www.youtube.com/watch?v=jS0ZjVbzGWg
1•keepamovin•21m ago•0 comments

Knowledge OS on Claude Code: 6 Commands, 14 Skills, Semantic Search, 2.5k Docs

https://augmentedcode.dev/knowledge-os-claude-code/
2•viktorianer•26m ago•0 comments

€5 gadget tracks down Dutch Navy's stealth warship while on mission

https://nltimes.nl/2026/04/17/eu5-gadget-tracks-dutch-navys-stealth-warship-mission
1•repelsteeltje•26m ago•1 comments

Desktop GitHub Gist Client

https://github.com/hackjutsu/Lepton
1•ankitg12•27m ago•0 comments

A simple way of making hydrogen from alcohol by using iron and UV light

https://www.kyushu-u.ac.jp/en/researches/view/387/
1•geox•29m ago•0 comments

Show HN: WhatsApp CLI without getting banned

https://github.com/Wassist/cli
1•joshwarwick15•29m ago•2 comments

How to Actually Use Postgres as a Message Queue

https://medium.com/@coders.stop/how-to-actually-use-postgres-as-a-message-queue-9f2d42b034b8
2•bundie•32m ago•0 comments

White House Works to Give US Agencies Anthropic Mythos AI

https://www.bloomberg.com/news/articles/2026-04-16/white-house-moves-to-give-us-agencies-anthropi...
2•surprisetalk•32m ago•0 comments

Getting Started with Go Testscript

https://blog.windpul.eu/posts/testscript/
1•brammeleman•34m ago•0 comments

Things you didn't know about indexes

https://jon.chrt.dev/2026/04/15/things-you-didnt-know-about-indexes.html
2•birdculture•35m ago•0 comments

The United Kingdom of Great Britain and Northern Ireland: The Text Adventure

https://uk-the-text-adventure.think.somethingorotherwhatever.com/
1•ColinWright•37m ago•0 comments

The Case for Out-of-Process Enforcement for AI Agents

https://runtime-guard.ai/articles/agent-security-enforcement-layer/
2•JimmyRacheta•39m ago•0 comments

Love Affairs and Differential Equations (1988) [pdf]

https://ai.stanford.edu/~rajatr/articles/SS_love_dEq.pdf
1•surprisetalk•40m ago•1 comments

European age verification app to keep children safe online

https://commission.europa.eu/news-and-media/news/european-age-verification-app-keep-children-safe...
1•LelouBil•40m ago•2 comments

Brainshare – Business Consulting and Advisory Services

https://www.grandviewresearch.com/services/brainshare
1•marketinsights•43m ago•0 comments

Durable Objects in Dynamic Workers: Give each AI-generated app its own database

https://blog.cloudflare.com/durable-object-facets-dynamic-workers/
1•tosh•43m ago•0 comments

M5Stack CardputerZero – Pocket Raspberry Pi Computer for Hackers

https://shop.m5stack.com/pages/m5-cardputerzero
1•wlkr•46m ago•1 comments

The Skills That Matter Now

https://jasonrobert.dev/blog/2026-04-10-the-skills-that-matter-now/
1•cebert•48m ago•0 comments

From five optional fields to a discriminated union: CLI parsing with Optique 1.0

https://hackers.pub/@hongminhee/2026/optique-10-discriminated-unions-for-cli
1•maleldil•48m ago•1 comments

ChatMCP – Connect your AI browser chats to your coding agents

https://github.com/IndianTinker/chatmcp
1•indiantinker•49m ago•0 comments