7 ms·
Go does incremental compilation just fine. Nobody has bothered to add parallel compilation because building Go code is already so ridiculously fast.
by luriel 14y ago
Go does incremental compilation just fine.
Nobody has bothered to add parallel compilation because building Go code is already so ridiculously fast.
- danieldk 14y ago...under the assumption that something does not depend on too many cgo packages.
- rogpeppe1 14y agoactually, the Go tool compiles packages in parallel by default.
- slurgfest 14y agoFast is relative to purpose. Maybe could afford to be faster in the context of an IDE checking your code on the fly, for a large project. I wouldn't know, since I have not attempted to write it.
- Locke1689 14y agoSource? That's not what the article says.
- cmccabe 14y agoThe 8g, 6g, etc compilers operate on a single .go file at a time. You're welcome to invoke them directly if you want.