News for hackers. Stuff that matters.
Re:Ask HN: Go programming language is over ten years old. Wh... by TopInvestor on Sunday October 25, 2020 @08:39PM (#24891602)
Fast compilation was one of the main reasons Golang was invented.

The gradual accumulation of #include clauses in C programs scales very badly. A large distributed compilation system was created in Google to handle the slow compilation. One reason is you never know if some #include is actually needed.

In Golang unused dependencies are a compile-time error. The generated object file includes type information for all related import dependencies in binary format. This speeds up the compilation significantly.

There are no comments on this comment yet.