3 ms·
why not just use Crystal https://crystal-lang.org https://crystal-lang.org, it is faster than go, with Ruby like sytnax.
by lowwave 4y ago
why not just use Crystal https://crystal-lang.org https://crystal-lang.org, it is faster than go, with Ruby like sytnax.
- bin_bash 4y agoI'm waiting until I hear some success people are having with it. I suspect the ecosystem is young and library support is minimal too. Last I heard (which was years ago) it was pretty much a solo project. That said, the demo is really something and I like what they're doing. I hope one day it becomes my language of choice.
- deleted 4y ago[deleted]
- chrisseaton 4y ago> with Ruby like sytnax People use Ruby because they like the way it works, not because of the syntax.
- petepete 4y agoCrystal's standard library is also a close match for Ruby's. I do Ruby every day and was able to familiarise myself with Crystal in a few hours. It's definitely lacking in the web ecosystem department but the language is a joy to use and incredibly fast.
- chrisseaton 4y agoIt can be a 99.99% close-match, but if it doesn't include key methods like a runtime method_missing, then it's hard to see how we'd reimplement Rails and our code base on top of it. I think people focus on the superficial similarity of Crystal, without thinking what semantics need to be the same for it to use usefully similar. And those semantics aren't there, so it doesn't matter if it sorts of looks the same and includes most methods. I feel like if it was tractable to run Rails on Crystal then someone would have done that.
- JeremyNT 4y agoOne major selling point of Ruby is the robust ecosystem of high quality, open source libraries which are relevant to the things SaaS companies need to get done. There's a ton of code you just don't have to write if you stick to Ruby. The fact that "Ruby developers already basically know the Crystal syntax" is a selling point for Crystal, but if people are already evaluating a switch to another programming language, that's just one of many factors that must be considered.