[fpc-devel] Proof of Concept ARC implementation

Michael Schnell mschnell at lumino.de
Mon Oct 27 13:51:32 CET 2014


On 10/27/2014 11:37 AM, hinstance at yandex.ru wrote:
> I think we should just roll out this feature to FPC trunk and let people test it; so those who are interested in it would test it and detect potential problems in practice rather than in thought experiments
>
Hmm.

The potential TList problem to me seems a little bit similar to what 
Embarcadero (IMHO frivolously) did with the new Strings.

The "List" Classes (TStrings siblings) force a certain encoding. You can 
use them to store differently encoded strings but this will force very 
expensive conversions.  You of course could use (i.e. do)  TStrings work 
alikes for  different encoding, (separately for all might need), but the 
multiple brands of the String type introduce a huge PITA.

And fpc seems to be forced to blindly follow.

Here we might get two incompatible brands of the "TObject" class.

This might ask for some thinking about the consequences.

-Michael







More information about the fpc-devel mailing list