LIghtweight GUI Library,

This is a discussion on LIghtweight GUI Library, within the X forums, part of the Help category; Hi Everybody I'm interested in developing front-ends and applications that uses as little memory as possible. These will be aimed at users of low-end spec PC's. Does anybody know if ...

Go Back   Unix Linux Forum > Unix > Linux > Help > X

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-30-2007, 08:31 PM
Default LIghtweight GUI Library,

Hi Everybody

I'm interested in developing front-ends and applications that uses as
little memory as possible. These will be aimed at users of low-end spec
PC's.

Does anybody know if GTK and QT widgets use more memory than other GUI
widget libraries?

Thanks in advance

Alza.
Reply With Quote
  #2  
Old 09-30-2007, 08:31 PM
Default Re: LIghtweight GUI Library,

Alza wrote:
> Hi Everybody
>
> I'm interested in developing front-ends and applications that uses as
> little memory as possible. These will be aimed at users of low-end spec
> PC's.
>
> Does anybody know if GTK and QT widgets use more memory than other GUI
> widget libraries?


I would say those are the heavy weight GUI's for linux, look at something
lighter like openmotif.


//Aho
Reply With Quote
  #3  
Old 09-30-2007, 08:31 PM
Default Re: LIghtweight GUI Library,

J.O. Aho wrote:

> Alza wrote:
>> Hi Everybody
>>
>> I'm interested in developing front-ends and applications that uses as
>> little memory as possible. These will be aimed at users of low-end spec
>> PC's.
>>
>> Does anybody know if GTK and QT widgets use more memory than other GUI
>> widget libraries?

>
> I would say those are the heavy weight GUI's for linux, look at something
> lighter like openmotif.
>
>
> //Aho


How about wxwindows ?
Reply With Quote
  #4  
Old 09-30-2007, 08:31 PM
Default Re: LIghtweight GUI Library,

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

J.O. Aho wrote:
> Alza wrote:
>
>> Hi Everybody
>>
>> I'm interested in developing front-ends and applications that uses as
>> little memory as possible. These will be aimed at users of low-end
>> spec PC's.
>>
>> Does anybody know if GTK and QT widgets use more memory than other GUI
>> widget libraries?

>
>
> I would say those are the heavy weight GUI's for linux, look at
> something lighter like openmotif.


Or even FLTK ("Fast, Light TookKit": http://www.fltk.org/)

- --
Lew Pitcher

Master Codewright & JOAT-in-training | GPG public key available on request
Registered Linux User #112576 (http://counter.li.org/)
Slackware - Because I know what I'm doing.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA8aYkagVFX4UWr64RAtjRAJ4hEcPK+xtB0Qakc1PYWQ dReuQHFwCgloWO
tly4gmZPHP8v2olOQxpbYmY=
=xVQJ
-----END PGP SIGNATURE-----
Reply With Quote
  #5  
Old 09-30-2007, 08:31 PM
Default Re: LIghtweight GUI Library,

Alza wrote:
>
>I'm interested in developing front-ends and applications that uses as
>little memory as possible. These will be aimed at users of low-end spec
>PC's.
>
>Does anybody know if GTK and QT widgets use more memory than other GUI
>widget libraries?


Both of them are resource hogs. If you are truly interested in minimal
memory size applications, you need to be looking at alternatives like
Microwindows and NanoX.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
Reply With Quote
  #6  
Old 09-30-2007, 08:31 PM
Default Re: LIghtweight GUI Library,

Martha Stewart called it a Good Thing when Alza wrote:
> I'm interested in developing front-ends and applications that uses
> as little memory as possible. These will be aimed at users of
> low-end spec PC's.
>
> Does anybody know if GTK and QT widgets use more memory than other
> GUI widget libraries?


Apps using them tend not to be terribly small, particularly as there
is plenty of incentive to link in additional GNOME or KDE services.

Tk tends to still be fairly small, and has bindings to plenty of
languages.

FLTK may be, albeit with the cost that it is C++-based, and the
exception-handling stack tends to bloat things...

InterViews is a very mature C++-based GUI system, probably able to
stay small as it predates C++ supporting exceptions...
--
If this was helpful, rate me
http://www.ntlug.org/~cbbrowne/postgresql.html
Strong language gets results. "The reloader is completely broken in
242" will open a lot more eyes than "The reloader doesn't load files
with intermixed spaces, asterisks, and <'s in their names that are
bigger than 64K". You can always say the latter in a later paragraph.
-- from the Symbolics Guidelines for Sending Mail
Reply With Quote
  #7  
Old 09-30-2007, 08:31 PM
Default Re: LIghtweight GUI Library,

Christopher Browne wrote:
> [ ... ]
> FLTK may be [small], albeit with the cost that it is C++-based, and the
> exception-handling stack tends to bloat things...


Do they use exceptions now? The release I have compiles everything
with -fno-exceptions .

Reply With Quote
  #8  
Old 09-30-2007, 08:32 PM
Default Re: LIghtweight GUI Library,

Christopher Browne writes:

> Martha Stewart called it a Good Thing when Alza wrote:
>> I'm interested in developing front-ends and applications that uses
>> as little memory as possible. These will be aimed at users of
>> low-end spec PC's.
>>
>> Does anybody know if GTK and QT widgets use more memory than other
>> GUI widget libraries?


There's also ZMW,
, which seems to
compile up to about 165K on this box, which seems pretty good.
Widgets themselves don't allocate any memory. It doesn't look very
pretty, IMHO, and probably lacks themeability and things, but it wins
in being small.

[...]

Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 12:13 AM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger