3 ms·
Strongly agreed. Swift isn't alone, the Kotlin compiler is very slow too (and yoked to Gradle, which is itself very slow). Rust as well. Maybe the Go authors ar
by iainmerrick 5y ago
Strongly agreed. Swift isn't alone, the Kotlin compiler is very slow too (and yoked to Gradle, which is itself very slow). Rust as well. Maybe the Go authors are onto something after all.
When Go first came out, I thought their emphasis on compilation speed was just an overreaction to C++, because a) C compiles plenty fast, b) C++ is only slow if you overuse templates, c) other languages compile faster than C++, right? and d) Moore's law!
But a) hardly anyone uses C now, b) everyone overuses C++ templates, c) other languages compile way slower than C++, d) compilers got slower faster than computers got faster.
Even now, Xcode can feel very slick and fast in a tightly-written C/C++/Obj-C project.