Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 02-04-2005, 02:03 PM   #1 (permalink)
Alpha Geek
 
Join Date: Dec 2003
Posts: 780
Default GTK1 vs GTK2


GTK (Gimp toolkit) is possibly the most common toolkit used by linux graphical applications for their interface. Earlier GTK was known for is speed and lightness, and this is very true about GTK1 programs, they are light and have a fast and snappy interface.

However, GTK2 seems to be comparitively much slower, and applications built around it are much slower than GTK1 applications. Mozilla runs faster than firefox and so on ... very few GTK2 apps (like GAIM) run quickly, the others just appear bloated. What is the reason for this performance difference ? In the looks department, both look near about similiar, except for a different colour scheme, and there doesn't seem to be too much difference otherwise.

For a long time I have been using the GTK1 version of applications, like Xchat 1.8, gtk-gnutella, sylpheed etc. However it seems that most applications seem to be heading the gtk2 way, as all modern distro's carry both versions of the toolkit. Is there any way to make gtk2 as fast as gtk1 where performance is concerned?
__________________
Hardware - Celeron 266 MHz, 128MB RAM, Intel i740 8MB RAM
Software - Slackware Linux 10.1; Archlinux 0.7; Windows 98 SE
Humanware - GS/CS C++ L+++ w b+++ DI+ D+ e
ujjwal is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 03-04-2005, 12:29 PM   #2 (permalink)
Apprentice
 
Join Date: Sep 2004
Location: Bangalore, India
Posts: 75
Default

Hi,

At this point, nobody knows why GTk2 is so much slower than Gtk1. Part of the reason is that GTK2 is much bigger and bloated than GTK1. GTK2 also supports antialised fonts, and in general, everything about GTK2 is much more complicated than GTK1, making it slower. But the problem is that it is much slower than it should be.

I am afraid you cant do anything to make it faster, unless you find and fix the problem which is slowing GTK2 down.

Pallav
__________________
Let the games begin!
http://www.ironcode.com/
pallavnawani is offline  
Old 03-04-2005, 07:43 PM   #3 (permalink)
Alpha Geek
 
Join Date: Dec 2003
Posts: 780
Default

Hmm, thats too bad. I always expected that the problem of unneccessary bloat would exist only fo closed source software, for which no one would be able to find the underlying problem, let alone fix it. Anyway, hopefully the toolkit will improve and become faster with time. GTK1 and QT till then
__________________
Hardware - Celeron 266 MHz, 128MB RAM, Intel i740 8MB RAM
Software - Slackware Linux 10.1; Archlinux 0.7; Windows 98 SE
Humanware - GS/CS C++ L+++ w b+++ DI+ D+ e
ujjwal is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 05:35 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2