There was a thread on reddit where someone asked about compile times, something
that has been bothering me a little the last year or so. An answer claimed that
he compiled 20k lines in less than a second. For me it takes about 10-20
seconds to compile a 400 lines program. I do include my libraries that are
about 20k lines, but if I just change one character in the 400 lines program
and compile, it takes around 10 seconds. Is this not normal? What could I be
doing wrong? I do not think I use any macros or stuff that could slow down
things, I only use libraries that I wrote myself, besides opengl and glfw. Is
it perhaps because I do a "{.compile glfw, opengl.}" and link them statically
and this is not cached? 1 second sounds like a completely fine compile time :)
10-20 not so much.
So what are your compile times? Am I doing something wrong?