Better support for Objective-C

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Wed Mar 8 09:45:00 GMT 2000


>   > Another issue is that we need to solve is a way to describe what is the
>   > location of compound data in memory and/or registers and correspondingly
>   > in the saved memory location I described above. This however should be a 
>   > detail that is hidden from the programmer of the API anyway.

> I wonder if this is similar to the RTTI support that was in the C++
> front end.

Although a C++ implementation *could* use RTTI for that, g++ currently
doesn't - all you can do is find out what the name of a class of an
object is.

However, it does sound similar to the Java API for introspection,
which allows you to get to all the fields and stuff.

Regards,
Martin



More information about the Gcc mailing list