Quantcast
Channel: Programming - Embarcadero Community
Viewing all articles
Browse latest Browse all 167

Compile Time and Generics

$
0
0

You no doubt saw my first video where I compiled a million lines of Delphi code. If not watch it now and then come back here.
 
[YoutubeButton url='https://www.youtube.com/watch?v=Yq2mNUzcpE0']

A lot of people commented that their compile times were similar, but a few questioned the code, specifically it's use of generics. Now it didn't have any generics, so I decided to make a new video. 

This video is compiling the Spring4D Framework. If you aren't familiar with Spring4D you really should be. It is an incredibly useful utility framework full of all sorts of amazing features. I picked it for two reasons: most all modern Delphi developers are using it (or should be) making it very real world, And most importantly, it is full of generics. Not just simple generics, it really pushes the limits of generics, which in turn pushes the limits of the compiler. 

In this video I build Spring4D first with Delphi 10.0 Seattle Update 1, and then in the same Parallels Virtual machine I build it with Delphi 10.1 Berlin Update 1. Berlin includes a number of compiler improvements, specifically around generics, so it should be interesting to see how these perform.


[YoutubeButton url='https://www.youtube.com/watch?v=kvuxeaMDmMc']
 

Viewing all articles
Browse latest Browse all 167

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>