2 ms·
Realistically, compilation speed is something every major language is going to try to improve upon to improve adoption. I haven't looked at the internals of th
by onei 6y ago
Realistically, compilation speed is something every major language is going to try to improve upon to improve adoption.
I haven't looked at the internals of the go compiler, but it seems a bit simplistic perhaps in the interest of improving speed. For example, it stops outputting errors after a point when it can clearly go further after having demonstrated that it's parser can recover. The error messages have lots of room for improvement, particularly compared to Rust.
- ldeangelis 6y agoI think one of the pain points that Go addresses is the compilation speed of large C++ projects at Google, and it's one of the reasons it was made in the first place. From what I know C++ and Rust are in the same ballpark in terms of compilation speed, while Go gives a noticeable improvement.