| ▲ | ModernMech an hour ago | ||||||||||||||||||||||||||||||||||
It's doing static analysis that many other languages don't do at compile time. | |||||||||||||||||||||||||||||||||||
| ▲ | dralley an hour ago | parent [-] | ||||||||||||||||||||||||||||||||||
This is not actually the main reason, most of the time. Generics/monomorphization and how iterators work results in a lot of compiler bytecode that has to be churned through. More bytecode = longer compilation. It increases the size of the (debug) binaries, the debuginfo in general, causes performance issues with debug binaries in some situations unless you bump the optimization level, causes more IO, etc. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||