Thread: C++ vs Java

  1. #16
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    >>> as for the performace, it's not an issue any more for Java IMO

    For apps that one normally runs on a PC (or similar small system) I would have to agree. There still are a lot of areas where performance is a big concern though.

    That aside. Java is a good language. And, as everyone else has said, having a number of tools at your disposal is always a good idea so you can choose the right one.

    The only disadvantage that Java has in my mind (when compared to C++) is that its standard library isn't as well thought out.

    Cheers
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  2. #17
    *******argv[] - hu? darksaidin's Avatar
    Join Date
    Jul 2003
    Posts
    314
    I think the game Chrome is written in Java. At least it came with a java runtime engine and filled my HDD with several thousand small java files. It has the best and most importantly - fastests - outdoor graphics I've yet seen in a game. However, I don't know if the core is really written in java or if maybe only the game scripts are java.

    Anyway, I'm not a java fan, but it certainly has it's uses. Just like other languages have theirs. PHP comes to mind. You wouldn't want to replace it with C even though C might be faster. Or Delphi for safe applications that don't buffer-overflow
    [code]

    your code here....

    [/code]

  3. #18
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    Originally posted by Zach L.

    The only disadvantage that Java has in my mind (when compared to C++) is that its standard library isn't as well thought out.
    Hmm.. Please elaborate.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  4. #19
    'AlHamdulillah
    Join Date
    Feb 2003
    Posts
    790
    well, if I recall right, sorry for stepping into this conversation, that Java has multiple thousands of classes as part of its standard library, and has alot of which are redundant, bloated, and otherwise useless... but this is just coming from a C++ fanatic.

  5. #20
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Posts
    345
    Originally posted by EvBladeRunnervE
    well, if I recall right, sorry for stepping into this conversation, that Java has multiple thousands of classes as part of its standard library, and has alot of which are redundant, bloated, and otherwise useless... but this is just coming from a C++ fanatic.
    have you tried to do network programming in Java? it can't be easier, and works very similar to the standard IO.
    Database access works the same no matter what server you are using.
    Swing, although a bit slower than native GUIs, has lots of features, some of them aren't even available in native GUIs.
    the 2D graphics API is great too, very easy to use, supports a wide range of formats, effects...

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. First Java Class at college
    By GanglyLamb in forum A Brief History of Cprogramming.com
    Replies: 24
    Last Post: 09-29-2004, 10:38 PM
  3. 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
  4. Java woes
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 07-06-2003, 12:37 AM
  5. 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