I am Aaron Patterson (tenderlove), Core team member of Ruby and Rails, and Software Engineer at GitHub. Ask me anything!

View original thread
Mark's photo

What's your opinion on Crystal? Is it a good idea to make a statically typed Ruby (if you agree with that description), is that something Ruby needs? Is a new language better than a gradual change like e.g. Typescript or mypy?

Aaron Patterson's photo

Programmer and Friend to Cats

OMG!! Thank you for this question! I love Crystal! Honestly, if I had more time in my day I would love to mess with the internals. Crystal uses the Boehm GC, and I think it could benefit from a custom GC like Ruby's GC.

As for static typing in Ruby, it's a tough question. I understand the benefits, but as someone that came from the Java world (don't tell anyone I came from the Java world), my hands are tired from typing types. I personally would prefer a gradual typing system like Typescript (but for Ruby). I know the Stripe folks have been working on something that seems extremely interesting.

I'd prefer to keep the same language, but introduce gradual typing. But that doesn't mean I would not use a different language 😉

I hope this answers the question!