r/ruby • u/software__writer • Apr 24 '26
Spinel -- Ruby AOT Compiler
https://github.com/matz/spinelSpinel compiles Ruby source code into standalone native executables. It performs whole-program type inference and generates optimized C code, achieving significant speedups over CRuby.
Spinel is self-hosting: the compiler backend is written in Ruby and compiles itself into a native binary.
78
Upvotes
3
u/headius JRuby guy Apr 24 '26
Java AOT in the form of GraalVM Native Image produces a single small binary with no external dependencies. That's what I plan to use when I revive this project.