Ask HN: How much compile time is unbearable?
Clearly, language will be an issue here.
Curious what you guys think.
For me, in C#:
<2s - dream come true; 5s - niiice; 10s - acceptable; 10-15s - bad; 20+s - insanely bad;
I've moved away from C++ mainly because of compile times. While templates are insanely awesome, code using them ended up with insane compile times.
C#/Winforms - insanely fast compile times
C#/WPF - very fast compile times (5-10 seconds, in 50-100K LOC solutions)
C#/UWP - MS quality; compile times are in the minutes
8 comments
[ 0.24 ms ] story [ 31.8 ms ] threadIf you're used to 2 seconds start to finish, then 2 minutes is horribly unbearable.
On the other hand, if you're used to 30-40 minutes (as was 'normal' for compiling a linux kernel on older machines back in the 90s or thereabouts) then 2 minutes is miraculously fast!
It's not all bad. It trains you to think carefully, producing code that compiles correctly on the first try. You learn to write bug-free code.