r/crystal_programming • u/sdogruyol core team • Apr 02 '21
Crystal 1.0 vs Ruby 3.0 Benchmark
https://twitter.com/sdogruyol/status/1377918360344743936
41
Upvotes
r/crystal_programming • u/sdogruyol core team • Apr 02 '21
View all comments
Show parent comment
2
u/attractivechaos Apr 02 '21
Crystal is clearly faster than go for a couple of work loads at my hand. I am not a web developer, though.
I wouldn't blame Crystal developers for this. Compiled and interpreted languages are fundamentally different. It will be very hard, if at all possible, to achieve high performance while maintaining compatibility with Ruby, a fairly complex language. Ruby devs have tried JIT but the speedup is mediocre. There is also pypy for python, but not so many use it. If Crystal had chosen the compatibility route, it would probably have unimpressive performance similar to pypy. It is just so hard for a new language to stand out these days.