[fpc-devel] Re: dominant short strings in compiler source

Peter Vreman peter at freepascal.org
Fri May 19 19:27:43 CEST 2006


>
>I think you guys may be living in a 255 cave, simply because that's all we 
>have to deal
>with at this time. Some say that ansistrings might be the way to go using 
>sysutils -
>personally I think sysutils has no place in the compiler core and the 
>compiler core should
>have tight custom units with no end user units like sysutils. One way to 
>accomplish this,
>like I've already mentioned, is to use shortstring/longstring/array of 
>string/ based Dos
>unit, using shortstrings where necessary, arrays of strings where 
>necessary, and arrays of
>chars or longstrings where necessary. An array of char is just a dumb 
>longstring, that's

Longstrings are not complex, but simply a lot of work to implement. You 
need to implement a lot of converters and overloads. Non of the core 
developpers see the usefullness so it isn't implemented.


Peter




More information about the fpc-devel mailing list