On Mon, 2008-12-22 at 15:22 +0100, Robin Sonefors wrote:
> I think I got this impression of GObject because it forces you to really
> see the overhead, when most other languages/libraries works harder to
> hide more. For instance, the code generated for a virtual function in
> C++ is as far as I understand (as I said, noob here) in principle the
> same as the code you have to manually write in GObject to do the same
> thing, it's just much more invisible.
Exactly. C++ can do slightly more optimisation because the OO, casting
and so on are in the compiler instead of built at runtime, but the
underlying mechanics are the same.
Ross
--
Ross Burton mail: ross burtonini com
jabber: ross burtonini com
www: http://burtonini.com
Attachment:
signature.asc
Description: This is a digitally signed message part