[fpc-devel] Pointer cache for fast class/pointer access.

Hans-Peter Diettrich DrDiettrich1 at aol.com
Wed Jan 4 19:03:20 CET 2012

Sven Barth schrieb:

>> I thinking if the Object type will be deprecated in the future... I 
>> hope not.
> As Free Pascal still writes on its flag that it is compatible to Turbo 
> Pascal I doubt that it will be deprecated (also there is quite some code 
> in the compiler and also in some packages which use object).

I don't see any reason why the Object type should be dropped. It's close
to C++ objects, useful in porting code. It allows for static objects,
e.g. in the stack, while TObject is bound to the heap (without tricks).

I used Object types to e.g. emulate C bitfields, with a simple typecast 
of a variable into the according object...


More information about the fpc-devel mailing list