Download Latest Version v1.16_ Minor fixes source code.tar.gz (2.5 MB)
Email in envelope

Get an email when there's a new version of RISC-V sandboxing library

Home / v1.12
Name Modified Size InfoDownloads / Week
Parent folder
fib64 2025-06-27 5.1 kB
fib 2025-06-27 1.0 kB
README.md 2025-01-22 3.6 kB
v1.12_ Faster loading times and bugfixes source code.tar.gz 2025-01-22 2.1 MB
v1.12_ Faster loading times and bugfixes source code.zip 2025-01-22 2.3 MB
Totals: 5 Items   4.4 MB 0

It's a new release which coincides with a fix for an awful bug. Highlights:

  • Loading programs is now 35-50% faster. See the thread on it for some initial benchmarks.
  • Zig C++ toolchain now has Windows support.
  • Zig C++ toolchain now has working C++ exceptions (fixed by an ELF loading issue).
  • Trimmed the size of the overall emulator by at least 256 bytes. This resulted in reaching 2M req/s in the Drogon benchmark.
  • You can now pass std::vector to vmcall(). The contents will be pushed on the stack and a pointer to the first element is put in an argument register.
  • Added support for libtcc on macOS and Windows (although only Windows is properly tested).
  • Added guest abstractions for C++ std::vector and std::string, which I've written about here.
  • Added a RISCV_MACHINE_ALIGNMENT macro that can be overridden, for toolchains that don't have working aligned new/delete support.
  • Fix a horrible conversion issue with FCVT.S.W and FCVT.S.WU. More information here.

What's Changed

New Contributors

Full Changelog: https://github.com/libriscv/libriscv/compare/v1.11...v1.12

Source: README.md, updated 2025-01-22