If you too are driven nuts by Swift's non-incremental compilation as you iterate, here's the awful stopgap I'm using: cl.ly/YwXc
Conversation
BTW, how large is your current Swift codebase?
1
man. that's not even a large app yet. what's the avg compile time?
1
About a minute on top-of-the-line rMBP.
1
interesting, that seems slow compared to much larger ObjC projects. Can you tone down Swift compiler's optimizations maybe?
2
and I assume that the build is fully parallelized already?
1
8 ways, yes. And yes, it is much slower than compiling Obj-C. It's doing a lot more work.
1
Very interesting, and I presume the extra work for Swift compiler increases non-linearly with sloc.
2
Replying to
Yeah because type inference.
Replying to
the price of modernity! I guess your only option is to upgrade the team to 12-core Mac Pros for now 😄
2

