C vs Java | SWT vs GTK+

This is a discussion on C vs Java | SWT vs GTK+ within the Tech Board forums, part of the Community Boards category; Do you guys code Java for all kind off applications or just for graphic ones? Do java apps using SWT ...

  1. #1
    j_spinto
    Guest

    C vs Java | SWT vs GTK+

    Do you guys code Java for all kind off applications or just for graphic ones? Do java apps using SWT have a better performance than C Apps using GTK+?
    Thanks

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    >>Do you guys code Java for all kind off applications or just for graphic ones?

    yes, Java gets used for all kinds of apps.


    >>Do java apps using SWT have a better performance than C Apps using GTK+?

    No. SWT provides native bindings for the widget set that its running on. So, on linux/gtk, SWT will have native bindings for GTK. Its an extra layer of abstraction so it will take a performance hit.

  3. #3
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    Do you guys code Java for all kind off applications or just for graphic ones?
    I use java where I think it would be a good fit. Server side applications mostly. I don't do much with graphics, but I think there's a good chance I would use java for that too.

    Do java apps using SWT have a better performance than C Apps using GTK+?
    Probably not, Java apps run a little slower than pure C ones.

  4. #4
    j_spinto
    Guest
    the vantage of java to VB is the portability? or the performance is still better?

  5. #5
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,687
    Please keep your random technical questions which are NOT specifically related to specific C questions on the tech board. This is the 2nd off-topic post of your's I've moved.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C#, Java, C++
    By incognito in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 10-05-2004, 02:06 PM
  2. The Java language is being expanded
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 26
    Last Post: 06-11-2004, 09:07 PM
  3. Java woes
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 07-06-2003, 12:37 AM
  4. C or Java as a first language
    By CorJava in forum A Brief History of Cprogramming.com
    Replies: 34
    Last Post: 10-23-2002, 05:12 PM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21