Re:D is being used for autonomous driving research – Audi an...
by dymk on Tuesday June 25, 2019 @12:47AM
(#20271268)
Lacking the Ruby ecosystem means it lacks like, 90% of the reason you’d choose a language.
Re:D is being used for autonomous driving research – Audi an...
by jashmatthews on Tuesday June 25, 2019 @12:37PM
(#20275972)
>almost full Ruby compatibility
Crystal is very different from Ruby. Hello world will copy paste but there are major differences after that.
Re:D is being used for autonomous driving research – Audi an...
by petre on Tuesday June 25, 2019 @02:20AM
(#20271629)
Yup, quite fast. On par with Go. Compiling Crystal is also fast and the language is beautiful.
Re:D is being used for autonomous driving research – Audi an...
by omaranto on Tuesday June 25, 2019 @10:40AM
(#20274651)
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.
Re:D is being used for autonomous driving research – Audi an...
by bb1234 on Tuesday June 25, 2019 @10:13AM
(#20274371)
According to the benchmarks at https://github.com/kostya/benchmarks, Crystal is about twice as fast as Go.
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.