Re:Crystal: Fast as C, Slick as Ruby
by AstroChimpHam on Thursday August 04, 2016 @03:58AM
(#12224106)
So, this is like Ruby's answer to cython?
[ Parent
| on HN ]
Re:Crystal: Fast as C, Slick as Ruby
by abrookewood on Thursday August 04, 2016 @05:05AM
(#12224326)
I don't know why you are getting down voted - the example of Crystal running an existing Ruby file makes it looks like it could be a compiler for unmodified Ruby files. It isn't - it's a separate language - but at first glance that might not be clear.
No, not in any way whatsoever.
Re:Crystal: Fast as C, Slick as Ruby
by AstroChimpHam on Thursday August 04, 2016 @05:00PM
(#12228448)
Cython looks like typed Python. Crystal looks like typed Ruby. Both are compiled, and both are not quite as fast as C, but much faster than the language they're based off of. The point of both is to be able to write something that looks like a clean scripting language while getting close to the speed of C. Was that unclear, or are you just trolling?