libriscv/libriscv
The fastest RVA23 RISC-V sandbox observed · 2026-09-01
Health v2 · maintenance only
95/100
- Activity 100
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 46
- age_days: 2513
- days_rel: 10
- days_push: 3
- n_releases_24m: 12
Adoption not part of the score
1111 stars · 92 forks observed · 2026-09-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
libriscv is an embeddable C++20 RISC-V (RVA23) userspace emulator and sandboxing library focused on ultra-low-latency VM function calls and a small attack surface. It includes a CLI emulator with GDB remote debugging and supports guest programs compiled from C, C++, Rust, and other languages to RISC-V ELF binaries.
Use cases
- sandbox untrusted scripts inside a game engine
- run user-generated mods in full isolation
- embed a fast scripting VM in a C++ application
- emulate RISC-V binaries with low overhead
- debug RISC-V guest programs via GDB
- run compute-heavy guest code with binary translation
- sandbox GDScript-like mods in Godot via SafeGDScript
When to choose
- you need nanosecond-scale VM call latency for game scripts or modding
- you want a zero-dependency, small-footprint embeddable sandbox
- you need a secure isolation boundary for untrusted guest code
- you want to run RISC-V ELF binaries across platforms without recompiling the sandbox
When to avoid
- you need full-system emulation including the OS kernel
- you need emulation of architectures other than RISC-V
- you need a mature multi-language host API beyond C/C++
- you want a managed or interpreted-language sandbox like WASM or Lua
Facets
library · maturity active
simulation security developer-tools interpreter developer-tools security simulation cpp cross-platform windows embedded riscv emulator sandboxing virtual-machine low-latency binary-translation game-scripting modding no-dependencies game-development linux macos
10 sources
- readme: https://github.com/libriscv/libriscv · fetched 2026-09-01 · debcfd337646
- homepage: https://libriscv.no/docs/intro · fetched 2026-08-29 · f0432bdaf457
- site_page: https://libriscv.no/docs/category/getting-started · fetched 2026-08-29 · ae6aea03f6d3
- site_page: https://libriscv.no/docs/getting_started/guest · fetched 2026-08-29 · a54c6e44b4c5
- site_page: https://libriscv.no/docs/getting_started/host · fetched 2026-08-29 · 03f521427b16
- site_page: https://libriscv.no/docs/category/concepts · fetched 2026-08-29 · 2aa018f456a2
- site_page: https://libriscv.no/docs/category/benchmarks · fetched 2026-08-29 · 98ce26b60e41
- site_page: https://libriscv.no/docs/category/host-languages · fetched 2026-08-29 · db3a641aff4d
- site_page: https://libriscv.no/docs/host_langs/cpp_lang · fetched 2026-08-29 · f69c08781b4c
- site_page: https://libriscv.no/docs/host_langs/c_lang · fetched 2026-08-29 · cbc398d8142c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| libriscv/libriscv | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="libriscv/libriscv")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem