4 ms·
Misspelling the keyword happens relatively early in the compiler pipeline (during parsing). If your build hasn't changed very significantly (i.e. something alon
by nv-vn 10y ago
Misspelling the keyword happens relatively early in the compiler pipeline (during parsing). If your build hasn't changed very significantly (i.e. something along the magnitude of <1000 lines changed that aren't scattered across tons of files) it should warn you within a few seconds. Anything else is a failure in the design of the compiler or build system. (In fact, outside of C or C++ compilation is usually much, much faster than what you cite). Non-trivial projects in better-designed languages can easily take a tiny fraction of that time.
- woodman 10y ago> If your build hasn't changed very significantly... Change one character in one file that gets linked at the end of the build, the syntax check would go from 7 minutes to 3.5 on average - still too slow. You're also overlooking conditional compilation, your change might break the build on another platform - the syntax won't be checked until it hits the buildbot that flips the right flags. > Non-trivial projects in better-designed languages... Ah, the lets redo-everything-in-x school of thought - good luck with that.