CrystalConf 2023

CrystalConf 2023

Lose The Ruby Accent & Write Crystal Fluently
2023-10-23 –, Main

Plenty of Crystalists come from a Ruby background and that's great! Welcome! 😊 A lot of the design patterns and syntax translates very well into Crystal and works. But writing Crystal like you wrote your Ruby is really just writing Crystalized-ruby. Instead, there are a few habits to be aware of and change that will let you write fluent Crystal that still look shockingly similar to the Ruby you are used to writing, but leverage the features of Crystal and it being a compiled language. We'll walk through a simple example showing a simple Ruby class and how it works, how most of the class translates over to Crystal, and then we'll bench mark the Crystalized-ruby version and compare to a fully Crystalized version of the code to see how it effects our app.

This will have to be a remote presentation.

I am originally a Ruby on Rails developer who fell in love with Crystal after it was featured in an issue of Ruby Weekly a few years ago when it was still v0.35.

I currently work for a company that has a Rails monolith that runs most of the US voter registration system and I have been advocating for the slow and steady adoption of Crystal into our tech stack to use in production.