hatchmoment. scored by care · not by stars

zasmg-runtime-asm

Runtime assembler turning assembly strings into callable machine code

ZASMG Runtime ASM lets programs supply x86/x86‑64 (and RISC‑V/SPIR‑V) assembly as a string and instantly get executable memory, avoiding external assemblers or object files. It provides a pure Zig module with a C ABI, so languages like C, Rust, Python or Node can JIT‑compile code on the fly. The library handles memory protection, error reporting and supports a wide instruction set, making it a lightweight alternative to heavyweight JIT libraries. Ideal for developers needing fast, low‑dependency runtime code generation.

assembler-x86codegendynamic-code-generationjitmachine-coderiscvruntime-assemblerspirvx86-64zig
View on GitHub →

XIRASM/zasmg-runtime-asm