DEV Community

Discussion on: What is your approach to Crystal

Collapse
jgaskins profile image
Jamie Gaskins

I've been working with Ruby for about 15 years now (since before Rails) and I'm really excited about Crystal. I've been playing with it for a while now to try to understand tradeoffs in static vs dynamic types a bit more. Having such a similar syntax and core/standard library allows for more direct comparisons than, say, comparing static types in Java vs dynamic types in Ruby.

After seeing how much more performant certain things can be in Crystal with drastically reduced memory usage, it's been making me want to port all my Ruby services to it. 😂

Another thing that I love in Crystal that I've been wishing for in Ruby for so long is spawn. Being able to spin off an async block that will clean itself up is just amazing.