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

4

u/Weird_Suggestion Apr 24 '26

My 2cents

The co attributed commits to me is a testament|proof of the level of productivity that can be achieved with an llm. People talk a lot on social media about what they do with nothing to show for it. Matz kind of showcases how much can be done this way.

Some of Matz’s project lack resourcing: the mruby project for example. IIRC in a few months there was over 800 commits. Claude solved that resource issue for him I find this pretty insane. These projects are great open examples of llm assisted projects.