NewsWorld
PredictionsDigestsScorecardTimelinesArticles
NewsWorld
HomePredictionsDigestsScorecardTimelinesArticlesWorldTechnologyPoliticsBusiness
AI-powered predictive news aggregation© 2026 NewsWorld. All rights reserved.
Trending
FebruarySignificantMilitaryTimelineFederalDigestChinaDiplomaticTensionsCompanyFridayFaceParticularlyTurkeyTalksStateIranDrugEscalatingGovernanceCaliforniaTargetingDespiteDisease
FebruarySignificantMilitaryTimelineFederalDigestChinaDiplomaticTensionsCompanyFridayFaceParticularlyTurkeyTalksStateIranDrugEscalatingGovernanceCaliforniaTargetingDespiteDisease
All Articles
Emuko: Fast RISC-V emulator written in Rust, boots Linux
Hacker News
Published about 2 hours ago

Emuko: Fast RISC-V emulator written in Rust, boots Linux

Hacker News · Feb 27, 2026 · Collected from RSS

Summary

Article URL: https://github.com/wkoszek/emuko Comments URL: https://news.ycombinator.com/item?id=47187121 Points: 9 # Comments: 0

Full Article

emuko Fast RISC-V emulator written in Rust. Boots Linux. emuko.dev Features RV64IMAFDC with M/S/U privilege levels and Sv39 virtual memory JIT compilation for ARM64 and x86_64 hosts (adaptive selection) Full Linux boot with BusyBox userland and interactive shell Snapshot/restore for saving and resuming full machine state Daemon mode with HTTP API and live UART command injection Differential checker to validate JIT against interpreter Peripherals: UART 16550, CLINT, PLIC, SBI 1.0, FDT generation Single dependency (zstd), pure Rust RISC-V Emulator Comparison (emuko vs others) This is a direct comparison with commonly used RISC-V emulators/simulators: QEMU, Spike, and Renode. Legend: ✅ = built in / directly documented, — = not built in (or not documented in the referenced source). Feature emuko QEMU (RISC-V virt) Spike (riscv-isa-sim) Renode JIT / dynamic translation backend ✅ ✅ — — Snapshot save + restore ✅ ✅ — ✅ Autosnapshot (periodic) ✅ — — ✅ HTTP API for machine control ✅ — — — WebSocket UART console endpoint ✅ — — — Scriptable UART host bridge primitives ✅ — — ✅ One-command Debian kernel/initrd download with SHA256 verification ✅ — — — Built-in JIT-vs-interpreter differential checker ✅ — — — GDB debugging workflow — ✅ ✅ ✅ Large RISC-V board/device ecosystem (PCIe/virtio on virt) — ✅ — — Multi-node simulation focus — — — ✅ Broad ISA extension coverage (incl. RVV, crypto, etc.) — — ✅ — Sources: QEMU RISC-V virt machine docs: https://www.qemu.org/docs/master/system/riscv/virt.html QEMU RISC-V system overview: https://www.qemu.org/docs/master/system/target-riscv.html QEMU GDB usage: https://www.qemu.org/docs/master/system/gdb.html QMP reference: https://www.qemu.org/docs/master/interop/qmp-spec.html QEMU monitor (savevm, loadvm): https://www.qemu.org/docs/master/system/monitor.html QEMU VM snapshots: https://www.qemu.org/docs/master/system/images.html Spike README: https://github.com/riscv-software-src/riscv-isa-sim Renode README: https://github.com/renode/renode Renode state save/load + autosave: https://renode.readthedocs.io/en/latest/basic/saving.html Renode GDB integration: https://renode.readthedocs.io/en/latest/debugging/gdb.html Renode UART host integration: https://renode.readthedocs.io/en/latest/host-integration/uart.html Build cargo build --release The main binary is target/release/emuko. Quick Start 1. Download a kernel alias emuko=target/release/emuko emuko dow Downloads the Debian RISC-V netboot kernel and initrd to ~/.emuko/ with SHA256 verification. 2. Boot Linux emuko start This starts the emulator daemon and attaches an interactive console. You'll see the kernel boot and get a shell prompt. Keyboard shortcuts: Key Action Ctrl+] Detach from console (daemon keeps running) Ctrl+C Sent to guest (interrupt running command) Ctrl+D Sent to guest (EOF) 3. Reattach or control emuko start # reattach console to running daemon emuko dump # print CPU state emuko stop # pause execution emuko con # continue execution emuko step 1000 # step N instructions emuko snap # take a snapshot emuko kill # shut down daemon The daemon exposes an HTTP API at http://127.0.0.1:7788/v1/api/ and a WebSocket console at ws://127.0.0.1:7788/v1/ws/uart. Snapshots emuko snap # take a snapshot now emuko snap 5000000 # auto-snapshot every 5M steps emuko snap stop # disable auto-snapshots emuko ls # list snapshots emuko restore <snapshot> # restore a snapshot Configuration Pass options after emuko start, or set via environment variables or emuko.yml: Option Env Var Default Description --ram-size RAM_SIZE 1 GB RAM in bytes --backend EMUKO_BACKEND adaptive adaptive, arm64_jit, amd64_jit, arm64, x86_64 --bootargs BOOTARGS serial console Kernel command line Getting a Kernel Use emuko dow (see Quick Start above) or grab pre-built images from DQIB (Debian Quick Image Baker). To download a specific set: emuko dow debian-netboot License Apache 2.0. See LICENSE.


Share this story

Read Original at Hacker News

Related Articles

Hacker Newsabout 2 hours ago
Show HN: I built a site where you hire yourself instead of applying for jobs

Article URL: https://hired.wtf Comments URL: https://news.ycombinator.com/item?id=47187450 Points: 3 # Comments: 1

Hacker Newsabout 3 hours ago
I am directing the Department of War to designate Anthropic a Supply-Chain Risk

https://xcancel.com/secwar/status/2027507717469049070 https://www.cnbc.com/2026/02/27/trump-anthropic-ai-pentagon.... Comments URL: https://news.ycombinator.com/item?id=47186677 Points: 515 # Comments: 374

Hacker Newsabout 3 hours ago
Otters as Bioindicators of Estuarine Health

Article URL: https://emt.pensoft.net/article/185117/ Comments URL: https://news.ycombinator.com/item?id=47186444 Points: 12 # Comments: 1

Hacker Newsabout 3 hours ago
The Most-Seen UI on the Internet? Redesigning Turnstile and Challenge Pages

Article URL: https://blog.cloudflare.com/the-most-seen-ui-on-the-internet-redesigning-turnstile-and-challenge-pages/ Comments URL: https://news.ycombinator.com/item?id=47186277 Points: 34 # Comments: 39

Hacker Newsabout 5 hours ago
The Robotic Dexterity Deadlock

Article URL: https://www.origami-robotics.com/blog/dexterity-deadlocks.html Comments URL: https://news.ycombinator.com/item?id=47184744 Points: 49 # Comments: 31

Hacker Newsabout 6 hours ago
Red Dwarf creator Rob Grant has died

Article URL: https://www.beyondthejoke.co.uk/content/17193/red-dwarf-rob-grant Comments URL: https://news.ycombinator.com/item?id=47184480 Points: 42 # Comments: 7