Re[2]: [fpc-devel] Generics Basics

2005-11-08 Thread Pavel V. Ozerski
Hello all,
I didn't discuss about this idea but now I would say something. Is it
really important, to integrate templates support into compiler? Maybe
an external preprocessing utility should be better? I think, an
integrated complex preprocessor can slow the compiling process very
much even if a source code doesn't contain these syntax extensions.
Very rapid compiling was always a great pascal advantage over c++.
This improvement can kill this advantage.

-- 
Best regards,
 Pavelmailto:[EMAIL PROTECTED]


___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: Re[2]: [fpc-devel] Generics Basics

2005-11-08 Thread Marco van de Voort
 I didn't discuss about this idea but now I would say something. Is it
 really important, to integrate templates support into compiler?

Yes. Otherwise they are no templates.

 Maybe an external preprocessing utility should be better?

IMHO this can't be done. E.g. the avoiding of multiple instantiation of the
same code using the type system requires this.

 I think, an integrated complex preprocessor can slow the compiling process
 very much even if a source code doesn't contain these syntax extensions.
 Very rapid compiling was always a great pascal advantage over c++. This
 improvement can kill this advantage.

An external preprocessor is a nono. 
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel