News for hackers. Stuff that matters.
Re:Fibers are the right solution to improve Ruby performance by theredbox on Monday November 19, 2018 @03:32AM (#18484900)
Crystal suffers from other problems. They diverged too much from type annotations and use macros / metaprogramming too much which immensely increases the compile times.
Re:Fibers are the right solution to improve Ruby performance by bjz_ on Monday November 19, 2018 @05:59AM (#18485516)
I don't know about Crystal's preformance problems specifically, but I would be surprised if macros would take up much compile time. I would have guessed it was more to do with the fiendishly tricky type inference problem that they set for themselves (ie. global inference + subtyping + union types + inheritance + overloaded methods).
Re:Fibers are the right solution to improve Ruby performance by chrisseaton on Monday November 19, 2018 @09:09AM (#18486470)
The problem isn’t tricky it just gets very large very quickly.
Re:Fibers are the right solution to improve Ruby performance by alehander42 on Monday November 19, 2018 @10:12AM (#18486940)
Metaprogramming is very fast, this is not a problem: very rarely macros can be the bottleneck