Hacker News new | past | comments | ask | show | jobs | submit login

"- Crystal: ?; fast?; have not used"

Ruby is an extremely powerful language, with the only drawback of being truly slow. Crystal solves this problem with flying colors by offering almost full Ruby compatibility along with very efficient native code generation. Unfortunately it's still young and lacks user base as well as ports to other architectures.




Lacking the Ruby ecosystem means it lacks like, 90% of the reason you’d choose a language.


>almost full Ruby compatibility

Crystal is very different from Ruby. Hello world will copy paste but there are major differences after that.


Yup, quite fast. On par with Go. Compiling Crystal is also fast and the language is beautiful.


In a discussion involving C, C++, Rust and Nim, "on par with Go" is probably not considered fast. Also, it would seem Crystal is closer to those languages I mentioned than to Go in speed.


According to the benchmarks at https://github.com/kostya/benchmarks, Crystal is about twice as fast as Go.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: