6 ms·
Just curious, what makes Crystal so much faster for this use case?
by throwaway3838g 3y ago
Just curious, what makes Crystal so much faster for this use case?
- moe 3y agoCrystal performance is close to Go-lang. It's just very fast across the board. Consequently, just like Go-lang, it beats Ruby by an order of magnitude on pretty much any benchmark. Newcomers often assume Crystal must be sluggish like Ruby because "how could a language with such a convenient syntax be so fast", but it really is not. https://www.techempower.com/benchmarks/ https://www.techempower.com/benchmarks/
- Alifatisk 3y ago> Crystal performance is close to Go-lang. It's just very fast across the board. I know Go is known for it concurrency, does Crystal come close to that aswell?
- prh8 3y agoThe biggest thing is the massive speed improvement compared to working with bloated ActiveRecord models, associations, plus some memory bloat. The Crystal implementation is massively fast dealing with database data.