3 ms·
This is huge! Hopefully 1.0 would allow more companies to use it. I've been following the evolution of Crystal for more that 3 years now. I came from Ruby. Go
by vlazar 6y ago
This is huge!
Hopefully 1.0 would allow more companies to use it. I've been following the evolution of Crystal for more that 3 years now.
I came from Ruby. Got a JSON/nested structures first program in Crystal working without even reading the docs. Was impressed by Crystal being "a cleaner Ruby" (some of the Ruby quirks removed, some nice things added), compile time NULL checks, type inference and of course it's runtime speed.
Next I've rewritten a small web service from Ruby to Crystal and seen a huge speedup with API requests serving in microseconds. The pre-import CSV data process (took ~ 40s in Ruby) was replaced by just reading CSV on the fly during server boot (~ 2s). Not even tried to optimize anything, just straightforward "make it work".
I would encourage anyone who loves Rube to check Crystal.
I would also suggest not to look at Crystal as just faster (fancier) Ruby. Although on the surface it looks very similar it actually quite different.