Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Normally I wouldn't suggest Crystal [1] with Rails Shop given how different they are, but Stripe uses a tight subset of Ruby and Type Check everything I am wondering if they have ever looked at Crystal and what are their thoughts on it. Given they are looking at Java and Go as well.

>Architected this way, the Sorbet Compiler turns Ruby into a language for writing Ruby native extensions! Instead of having to write C, C++, Rust, or some other compiled language to write native extensions, people can continue to write Ruby but gain the benefits of native compiled speeds.

To me this is the biggest feature that could impact the whole Ruby Ecosystem. Along with another Ruby JIT that is currently being tested at Shopify.

[1] https://crystal-lang.org



Sorbet clearly aims to be interoperable with the rest of the ruby ecosystem, whereas crystal is a relatively small garden - Ruby code does not defacto work in crystal.


"Teams at Stripe have the choice between Ruby, Java, and Go to build services in, depending on their needs."


The Sorbet compiler will work with most Ruby code as-is (if not all). Crystal works with very little, or no Ruby code as-is.


every post about Sorbet must have someone talking about Crystal. If everyone suggesting Crystal would actually use Crystal, then a) The Crystal community would be huge or b) wouldn't be suggesting Crystal as "drop-in" to ruby + sorbet.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: