GTK,GTK+,Qt, etc.., why not Swing for Linux GUI applications?

GTK,GTK+,Qt, etc.., why not Swing for Linux GUI applications?

Post by b.. » Sun, 31 Dec 1899 09:00:00



I am amazed looking at the wasted effort people put into reinventing the
wheel so many times.

why are people making new librararies to create GUI apps on X, when one can
simply use Java/Swing which has a very rich GUI API?  Why should one write
a GUI application on Unix using GTK+ or Qt or whatever the latest fashion,
when one can write the same application in the more advanced Swing kit? (and
as an extra benifit, have the application run not just on Unix/Linux, but
on Windows and VMS and OS/2 and the Mac and BeOS and As/400 and MVS and
OS390 and any other OS that have the JVM on it).

is there something inherit in the Unix programmer mentality to want to
duplicate, replicate, and create many falvours of the same thing all the time?

so, why use any X widget library when one can use Java Swing??

Bill

 
 
 

GTK,GTK+,Qt, etc.., why not Swing for Linux GUI applications?

Post by david parso » Sun, 31 Dec 1899 09:00:00



>I am amazed looking at the wasted effort people put into reinventing the
>wheel so many times.

  .
  .
  .

Quote:>so, why use any X widget library when one can use Java Swing??

  Because it's written in Java, and lugging around a p-code interpreter
  just to display windows is really stupid when you don't have a few
  gigahertz going to waste and several hours a week to go the upgrade of
  the minute.

                ____
  david parsons \bi/ Hey, but you didn't say it was a joke, so that's something.
                 \/

 
 
 

GTK,GTK+,Qt, etc.., why not Swing for Linux GUI applications?

Post by David M. Co » Sun, 31 Dec 1899 09:00:00




Quote:>why are people making new librararies to create GUI apps on X, when one can
>simply use Java/Swing which has a very rich GUI API?  Why should one write

There are a few things that have not helped to make Java popular on Linux:

1. No official port
2. 1 means that Linux users have to wait many months for the latest JDK
3. A huge development kit and a large runtime.  By contrast Gtk results in
   very small executables, runtime memory usage, and disk footprint.
4. No decent JIT
5. Not open source
6. Controlled by a single, large company that owns a competing OS.

5 & 6 make Java unsuitable as the basis of a Linux desktop.  1-4 make it
unpopular for other uses.

Dave Cook

 
 
 

GTK,GTK+,Qt, etc.., why not Swing for Linux GUI applications?

Post by Scott Johnst » Sun, 31 Dec 1899 09:00:00



>why are people making new libraries to create GUI apps on X, when one can
>simply use Java/Swing which has a very rich GUI API?  Why should one write
>a GUI application on Unix using GTK+ or Qt or whatever the latest fashion,
>when one can write the same application in the more advanced Swing kit?

Diversity, independence of approach, and reinvention are all good for
progress.  And if the advanced features of Swing you're referring to
are its lightweight glyphs and structured graphics, they originated on
X as part of InterViews, and can still be found today in ivtools:
http://www.vectaport.com/ivtools/.
 
 
 

GTK,GTK+,Qt, etc.., why not Swing for Linux GUI applications?

Post by David Joff » Sun, 31 Dec 1899 09:00:00



> >why are people making new libraries to create GUI apps on X, when one can
> >simply use Java/Swing which has a very rich GUI API?  Why should one write
> >a GUI application on Unix using GTK+ or Qt or whatever the latest fashion,
> >when one can write the same application in the more advanced Swing kit?

If I remember my history correctly here, when work began on GTK+, Swing
was not yet in any useful form, if it existed at all. I think the same
is true for Qt. But I'm not 100% sure of these facts.

 - David

-----------------------------------------

http://www.geocities.com/SoHo/Lofts/2018/
-----------------------------------------

 
 
 

GTK,GTK+,Qt, etc.., why not Swing for Linux GUI applications?

Post by Zach Bea » Sun, 31 Dec 1899 09:00:00




>> >why are people making new libraries to create GUI apps on X, when one can
>> >simply use Java/Swing which has a very rich GUI API?  Why should one write
>> >a GUI application on Unix using GTK+ or Qt or whatever the latest fashion,
>> >when one can write the same application in the more advanced Swing kit?

>If I remember my history correctly here, when work began on GTK+, Swing
>was not yet in any useful form, if it existed at all. I think the same
>is true for Qt. But I'm not 100% sure of these facts.

Check out http://www.linuxworld.com/linuxworld/lw-1999-01/lw-01-gimp.html
for an interesting interview with the creators of Gtk. The impression I got
was that they didn't analyze the market position of various toolkits and
then try to fill some empty void they noticed...they just wanted to learn
how to make a toolkit. It wasn't part of some larger scheme.

Zach
--

PGP mail welcome.   http://www.xach.com/pgpkey.txt