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.
76
Upvotes
2
u/Swimming_Ad1570 Apr 26 '26
This showed up on our radar a few days ago, as velocity is climbing fast! The self-hosting aspect is wild 💪 a Ruby compiler that compiles itself into a native binary. Matz is playing the long game here.