4 ms·
Those are probably not for the same use case. Crystal is a whole another language, and you'd have to migrate your whole codebase there. This (in my understandin
by d3nj4l 6y ago
Those are probably not for the same use case. Crystal is a whole another language, and you'd have to migrate your whole codebase there. This (in my understanding) is more for compiling certain heavily used functions in your otherwise Ruby codebase to get a quick performance boost.
- ben-schaaf 6y agoDoesn't the new ruby JIT already do the same thing?
- d3nj4l 6y agoI haven't looked into the new ruby JIT too deeply, but as far as I remember it had several limitations that made it slow Rails apps down instead. This would make it easier to select and optimise for specific methods instead.
- sosodev 6y agoYeah, this is pretty much how the JIT works.
- sanxiyn 6y agoCurrent Ruby JIT doesn't take any type hint.
- agrafix 6y agoIt's certainly related -- not sure what kinds if specialisation the new ruby JIT does.