[fpc-pascal] Smart Pointers
Michael Van Canneyt
michael at freepascal.org
Thu May 12 08:19:59 CEST 2016
On Wed, 11 May 2016, Florian Klämpfl wrote:
> Am 11.05.2016 um 14:12 schrieb Maciej Izak:
>> 2016-05-11 13:46 GMT+02:00 Michael Van Canneyt <michael at freepascal.org <mailto:michael at freepascal.org>>:
>>
>> Anything the compiler needs *must* be in the system unit. The compiler
>> should only assume the system unit, possibly objpas or macpas or so.
>>
>> All the rest should remain out of the RTL, which should be as small as
>> possible. So rtl-generics is your best bet. Even the classes unit is better
>> outside the rtl, but I think Marco is reluctant to remove it.
>>
>> I have remarked on this before: this tight dependency you are creating is very worrying.
>>
>>
>> FPC team is very selective and with double standards and that is very worrying. For example fgl
>> module is part of RTL
>
> Actually, once classes should again use fgl for the TList etc. implementations. This was already
> done, but reverted again. I do not remember the reason though.
10% Speed penalty. Generics code is slower.
Michael.
More information about the fpc-pascal
mailing list