[fpc-devel] How are short/ansi strings implemented ?

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sun Apr 17 19:03:14 CEST 2011


Skybuck Flying schrieb:

> However pascal's string types, seem more of a special type, one could 
> consider this a "software type" which is not really implemented by the 
> instruction set and therefore requires some kind of software routines to 
> make it work.

Right. Some (dynamic...) data types require special support for 
allocation and other standard procedures, in the RTL. Furthermore the 
compiler may include some magic, i.e. transform certain syntactic 
constructs (operators...) into calls to these procedures.

DoDi




More information about the fpc-devel mailing list