TruffleRuby 34: full Ruby 3.4 compatibility, up to 23% faster parsing, and a new Prism-based Ripper with 20x speedups - Comments

TruffleRuby 34: full Ruby 3.4 compatibility, up to 23% faster parsing, and a new Prism-based Ripper with 20x speedups

kablamooo

I always wondered as TruffleRuby reached parity and pretty much has better performance characteristics in a broad standard set of use cases, why it doesn't have higher adoption. I've worked on Ruby applications with pretty decent user load and it was always the reference runtime, maybe a little jRuby for specific JVM reasons, but not Truffle.

viraptor

If I was starting a project today, my reasons would be: If I don't need speed, why risk compatibility issues with Truffle. If I need speed, why use Ruby at all? (Or at least, why not Crystal which has other benefits)

kablamooo

I always wondered as TruffleRuby reached parity and pretty much has better performance characteristics in a broad standard set of use cases, why it doesn't have higher adoption. I've worked on Ruby applications with pretty decent user load and it was always the reference runtime, maybe a little jRuby for specific JVM reasons, but not Truffle.

viraptor

If I was starting a project today, my reasons would be: If I don't need speed, why risk compatibility issues with Truffle. If I need speed, why use Ruby at all? (Or at least, why not Crystal which has other benefits)