tag:blogger.com,1999:blog-5330865050433561840.post8271341210527476844..comments2023-12-18T01:06:11.932-08:00Comments on Delphi Programming Tips & Tricks: Are generics slow?Dalija Prasnikarhttp://www.blogger.com/profile/00645794274789883946noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-5330865050433561840.post-3801457178032806822021-10-01T03:50:51.741-07:002021-10-01T03:50:51.741-07:00I feel like the Delphi community might not have ab...I feel like the Delphi community might not have absorbed the same awareness of the history of thought around generics as eg the C++ community, back to at least Alexander Stepanov.<br /><br />This video might be of interest - looking at generics and constraints across several languages:<br />https://www.youtube.com/watch?v=Qh7QdG5RK9Epmcgeehttps://www.blogger.com/profile/08105299318785784208noreply@blogger.comtag:blogger.com,1999:blog-5330865050433561840.post-53238312380430442582021-09-29T09:57:46.473-07:002021-09-29T09:57:46.473-07:00IMHO authors of generic code should take a little ...IMHO authors of generic code should take a little care because it easily gets out of hand if you approach it very naively - i've seen large libraries where at the very basic foundations there are many generics and it lead to ginourmous compiletimes (mostly because of the situation I descrived in RSP-18080 and my articles) including completely failing to compile on some platforms where the Stefan Glienkehttps://www.blogger.com/profile/05509404049325709406noreply@blogger.comtag:blogger.com,1999:blog-5330865050433561840.post-86189345189908239782021-09-29T07:49:11.869-07:002021-09-29T07:49:11.869-07:00Thanks, a good article and makes things a bit clea...Thanks, a good article and makes things a bit clearer for those of us who aren't knee deep in Generics, but don't want to be put off from using them in everyday code.JasonChttps://www.blogger.com/profile/04221688640434326930noreply@blogger.com