Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Compiling a Million Lines of Code with Delphi

the future of starts demands massive productivity

Author: Jack M57168

I was talking with someone the other day about how fast the Delphi compiler was. I decided to build a sample app to see how long it would take to compile a million lines of code. I made a video to show the results . . . 


 
I plan to expand this experiment to some different scenarios. I tried splitting the code over multiple files, as well as changing some of the compile options, and none of that had a huge impact on performance. My next step is to introduce some generics to the code. Berlin has some significant compiler improvements around generics, so maybe I can do a comparison between Berlin and Seattle.
 
How big is your Delphi project? Update video with generics.
Exit mobile version