[fpc-pascal] Generics vs templates

Ryan Joseph ryan at thealchemistguild.com
Mon Jan 8 08:19:42 CET 2018


I was talking with a c++ developer who explained how templates are implemented in c++ and how use some recursive method which causes them to totally murder compile times. This isn’t the first I’ve heard of the problem though and I recall some game studios who develop engines in c++ saying they are strictly off limits for the same reasons.

Having just started to use generics in FPC myself I was curious if FPC suffers from the same problem of slow compile times?

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list