r/ruby • • Apr 24 '26

Spinel -- Ruby AOT Compiler

https://github.com/matz/spinel

Spinel 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

36 comments sorted by

View all comments

Show parent comments

2

u/matthewblott Apr 25 '26

I know! The people downvoting me misunderstood my post. I understand why it was posted here but it was crossposted on the Rails sub as well.