6 ms·
The article mentions Go's superior compile time, when compared to Kotlin. I have done a lot more Java development than Kotlin, but my recollection is that both
by bootlooped 7y ago
The article mentions Go's superior compile time, when compared to Kotlin. I have done a lot more Java development than Kotlin, but my recollection is that both of them compiled fairly fast.
Is Go really significantly faster to compile for similarly sized projects?
- tbrock 7y agoI’ve written some things in both languages and compiling go feels an order of magnitude faster.
- abraxas 7y agoIt's mostly because most setups will use maven or gradle which do much more than just compile code. They will often pull down dependencies, check for bugs and style inconsistencies, run unit tests etc. If you run plain javac against a bunch of files it will compile just as fast as Go. In any case it will be in a blink of an eye.
- sheeshkebab 7y agoYes, it’s much faster than these java and jvm based codebases (including all jvm based languages like kotlin, scala etc). Go as a language is just so much simpler. Although compiling overhead of large JavaScript codebases, that make up most of modern websites, kills any kind of benefit in improving build performance of some backend service.
- fizx 7y agoIt's rare that I notice the compile time for either. Incremental compilers are great!
- tapirl 7y agoThe article mentions why choosing Go over Kotlin is memory consumption.