News for hackers. Stuff that matters.
Re:Switch from Ruby to Crystal by viraptor on Friday November 06, 2020 @04:47AM (#25006417)
Does that overhead go down if you tag lots of places with types manually?
Re:Switch from Ruby to Crystal by progressbwc on Friday November 06, 2020 @05:01AM (#25006474)
Yes but it is unlikely to make a difference unless a major part of ecosystem changes which is unlikely to happen as it will lose its “dynamic feeling”. Even the standard library has to be compiled when you compile your project.

There is some caching to help but times are still high. IIRC the compiler is not parallel either, so having more cores won't help.

There is also a —release compile flag that you would want to use for production and it is much slower.