3 ms·
Indeed. Rob Pike makes a point of the 120kloc RTL compiling in 8 seconds in his presentation video, but the Delphi RTL on my machine right here compiles in abou
by barrkel 17y ago
Indeed. Rob Pike makes a point of the 120kloc RTL compiling in 8 seconds in his presentation video, but the Delphi RTL on my machine right here compiles in about 11 seconds, and it has over 417kloc - and much (~ 2 to 3 seconds) of that time is in linking together a runtime package, for folks who want a dynamically linked RTL, rather than statically linked.
- uriel 17y agoIs that compiling after the equivalent of 'make clean'?
- barrkel 17y agoDoesn't really make any difference. Cleaning the RTL takes about 170ms - it's just deleting some files. Build is driven by msbuild, so there is some .NET startup cost in there too. EDIT: Oh, you mean is it an incremental build? No. It's a full clean build, and that 11 seconds also includes preprocessing some API header files.