[fpc-devel]Objective-C objects

Jonas Maebe jonas at zeus.ugent.be
Mon Aug 16 09:40:27 CEST 2004

On 16 aug 2004, at 01:21, Olle Raab wrote:

> Afaik the architecture of fpc is such that several object models can
> coexist. E g there is support for the Delphi classes, old style Turbo
> objects, and even C++ objects (at least some work is going on). So I 
> think
> it should be possible to implement yet another model, but perhaps some 
> other
> guru can give a better answer.

There is not support at all for C++ classes, and nobody is working on 
that. The only thing that is maybe planned for one day, is support for 
C++ name mangling, so you can call C++ object code from Pascal 
programs. Object models are not a plug&play feature of FPC.

Objective C is much more dynamic than either Object Pascal or C++, and 
I don't know whether it would be possible to map one to the other 
without creating some kind of Objective Pascal.


More information about the fpc-devel mailing list