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: Devflow CMS – Hybrid CMS Alternative to Joomla, Drupal, and WordPress

https://github.com/getdevflow
1•7mediaws•2m ago•0 comments

Is The Economist Always Wrong?

https://economist.com/interactive/finance-and-economics/2026/07/02/is-the-economist-always-wrong
1•andsoitis•3m ago•0 comments

Sollya: An environment and library for safe floating-point code development

https://www.sollya.org/
1•RossBencina•11m ago•0 comments

EV Batteries Are Defying Expectations After Miles

https://www.wsj.com/business/autos/ev-batteries-are-defying-expectations-after-hundreds-of-thousa...
6•apparent•13m ago•0 comments

Fidx – local semantic search in one SQLite file, no LLM at query

https://github.com/williamliu-ai/fidx
1•williamliu_ai•16m ago•0 comments

Security Roundup: Apple's Hide My Email Service Fails to Hide Your Email

https://www.wired.com/story/security-roundup-apples-hide-my-email-service-fails-to-hide-your-email/
1•01-_-•17m ago•0 comments

Show HN: Onboard-CLI, an AST-based tool to detect architectural drift

https://github.com/animesh-94/Onboard-CLI
1•yr_animesh•17m ago•0 comments

My manager appreciated my design process

3•Achuth123•22m ago•1 comments

Google commercial imagines Declaration of Independence written with help from AI

https://techcrunch.com/2026/07/04/new-google-commercial-imagines-a-declaration-of-independence-wr...
2•eloisius•22m ago•0 comments

sqlite-utils 4.0rc2, mostly written by Claude Fable (for about $149.25)

https://simonwillison.net/2026/Jul/5/sqlite-utils-fable/
2•ognyankulev•24m ago•0 comments

Top Companies in the Global Hybrid Memory Cube High-Bandwidth Memory Market

https://www.sphericalinsights.com/blogs/top-20-companies-in-the-global-hybrid-memory-cube-high-ba...
1•peter_d_sherman•25m ago•0 comments

Enigma M4 Breaker with GPU

https://github.com/vladimir-cicovic/EnigmaM4Breaker
2•vlad__81•28m ago•0 comments

Dungeon KeeperFX 1.4.0 with Multiplayer Released

https://keeperfx.net/news/25/2026-07-04/keeperfx-140-released
2•MrJagil•34m ago•1 comments

LLM's as a Different Kind of Intelligence

https://handmadeoasis.com/llms-as-a-different-kind-of-intelligence/
2•RamtinJ95•36m ago•0 comments

Geek, Music Producer, Father CEO Info-Struct

1•gryanfawcett•36m ago•0 comments

Megawatts by Microwave

https://computer.rip/2026-07-04-microwave-and-power.html
7•eternauta3k•47m ago•0 comments

Ask HN: How Do You Connect OpenAI Secure MCP Tunnel with Claude Desktop

2•mcpzero•1h ago•0 comments

Small Change [pdf]

https://web.stanford.edu/class/comm1a/readings/gladwell-small-change.pdf
2•ABNi•1h ago•0 comments

Fixing analog audio on the $2.58 HDMI-to-VGA adapter

https://nyanpasu64.gitlab.io/blog/hdmi-vga-dac-audio/
2•zdw•1h ago•0 comments

After hooking China on coffee, Starbucks ramps up consumer strategy

https://www.scmp.com/business/china-business/article/3359294/after-hooking-china-coffee-starbucks...
1•keepamovin•1h ago•0 comments

The '1776 Diet': What Americans ate during the nation's founding

https://www.foxnews.com/health/1776-diet-what-americans-really-ate-during-nations-founding
1•keepamovin•1h ago•0 comments

A gender-swap EarthBound for my daughter (2025)

https://tommy.reddad.net/post/2025-12-04-coilsnake/
1•Sajarin•1h ago•0 comments

Show HN: Codex-review – a read-only cross-model review skill for Claude Code

https://github.com/shimo4228/codex-review
1•shimo4228•1h ago•0 comments

Beeg float library, a Rust port of Fabrice Bellard's libbf

https://github.com/lifthrasiir/libbeef
10•serialx•1h ago•2 comments

Cuba's Green Solution to the U.S. Oil Blockade: Solar-Powered Electric Tricycles [video]

https://www.youtube.com/watch?v=eeg0CthbzTE
3•thelastgallon•1h ago•0 comments

New California study finds highly educated workers most harmed by AI

https://www.sfgate.com/politics/article/california-ai-study-22321472.php
3•littlexsparkee•1h ago•0 comments

US and Chinese companies train almost all of the most-used AI models

https://ourworldindata.org/data-insights/us-and-chinese-companies-train-almost-all-of-the-worlds-...
3•TMWNN•1h ago•0 comments

Mouse: Precision Editing Tools for AI Coding Agents

https://hic-ai.com
15•handfuloflight•1h ago•16 comments

Meituan Trained a 1.6T-Parameter AI Model Without Nvidia GPUs

https://xyzlabs.substack.com/p/meituan-trained-a-16t-parameter-ai
2•mgh2•1h ago•1 comments

China's LongCat-2.0 Becomes the Biggest AI Model Without Nvidia Chips

https://tech.yahoo.com/ai/articles/china-longcat-2-0-becomes-134258951.html
5•mgh2•1h ago•1 comments