Re: gtk+ speed



On mån, 2008-12-22 at 13:12 +0200, Eugene Gorodinsky wrote:
> I haven't programmed much with gtk+, so forgive a noob if this is a
> silly question. My first impression when I looked at the architecture
> (using GObject etc.) was that this must take quite a bit of processing
> cycles and memory. So my question is: is there any room for
> improvement by rethinking the architecture (using Vala for some of the
> things maybe?) with gtk+ 3.0 in the works this question bothers me a
> bit :)

Another noob here.

That was my first impression too. I then thought of all the code I've
written in C# and Python, which works pretty well - I think the GObject
overhead should be pretty insignificant in comparison.

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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]