Thread: Replacing C++ with Java?!?!?!?

  1. #16
    Microsoft. Who? MethodMan's Avatar
    Join Date
    Mar 2002
    Posts
    1,198
    Java is 'in' right now. A few years ago as an introductory programming language students were learning Lisp, now who uses Lisp? My school changed to teaching first year studnets Java, because other schools did. I dont think Java will replace C++ or vice versa.
    -MethodMan-

    Your Move:Life is a game, Play it; Life is a challenge, Meet it; Life is an opportunity, capture it.

    Homepage: http://www.freewebs.com/andy_moog/home.html

  2. #17
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Java is more for easy multi-platform GUI development, while C++ is better for the specialized, platform-specific things which need the speed/efficiency/less restricted access to the system that is available thru C++ (try re-writing UT2003 in Java).

    I have a feeling that both languages will be around for a while, but I don't think that one will eclipse the other.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #18
    CS Author and Instructor
    Join Date
    Sep 2002
    Posts
    511

    Thumbs up

    Anyway, as long as computer science and programming concepts are taught well, the particular programming language and platform is not really that important.
    Agree here 1000%!!!
    Mr. C: Author and Instructor

  4. #19
    Registered User Xei's Avatar
    Join Date
    May 2002
    Posts
    719
    Originally posted by Mister C
    Agree here 1000%!!!
    I don't know, but I don't think I would be wanting to learn QBASIC when I could be learning C or [T/M/N]ASM.(I know its Java, not BASIC).

    Unfortunately, Java remains a proprietary programming language and platform controlled by Sun Microsystems, unlike the ISO-standardized languages C and C++.
    Yes, but Microsoft 'bought' the rights to use it from Sun Systems and they have both been through numerous lawsuits about a bunch of bull$$$$. I believe that Microsoft has rights to develop their own technology for Java in 7 years? I could be wrong, but if anyone wants to read up on it Microsoft has all of their legal/lawsuit documents freely available. Sun got mad at Microsoft for redefinine some of the terms etc etc(lots more, there is like a list of 300 things that Sun said that Microsoft disobeyed from contract, including logos)... the court just said that Microsoft overstepped their limits and although they did not necessarily disobey the contract they did not act in 'Good Faith' blah blah. So in something like 7 years Microsoft isn't bound by this BS anymore and meanwhile the courts said that Microsoft didn't have to recall their software. Oh yea, their latest lawsuit had something to do with their .NET Framework and supporting Suns latest java technology or something. You guys should read the document, in reply to the lawsuit Microsoft said something like: "What Sun Systems is asking for is not supported by law, lacks common-sense, and therefore their request should be denied." I thought that was funny.
    Last edited by Xei; 03-17-2003 at 01:19 AM.

  5. #20
    Registered User CompiledMonkey's Avatar
    Join Date
    Feb 2002
    Location
    Richmond, VA
    Posts
    438
    Yeah, I've been hearing from friends of mine in different Universities across the country that their CS program is moving or has moved from C++ to Java. My IS program made the switch this past fall. Thankfully, it was my first semester at the school taking major classes.

  6. #21
    Registered User
    Join Date
    Dec 2001
    Posts
    108
    I think that it would be safe to say that 85 to 90 percent of all computers used are Intel CPU/Microsoft Windows computers. Why would you want to move to a language that requires a runtime enviroment for interpretation ?

    No matter how fast that interpretation gets, it will ALWAYS be slower than native.

    Binary is superior to Byte, and that will never change.
    Last edited by DarkStar; 03-18-2003 at 10:18 PM.

  7. #22
    Registered User CompiledMonkey's Avatar
    Join Date
    Feb 2002
    Location
    Richmond, VA
    Posts
    438
    Originally posted by DarkStar
    Java is for Applets, not Applications.
    Typical uninformed response. Java is for server side development, not client side nor applets. Professional Java devs don't use applets.

  8. #23
    Registered User
    Join Date
    Nov 2001
    Posts
    70
    Both C++ amd Java are supersets of C, Java is better for cross platform and you have little problem using different compilers since theres more of a standard than C++ (I've had ALOT of trouble with porting code from windows compiler to windows compiler with C++)
    "...since anyone who is anyone knows C..." -Peter Cellik

  9. #24
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    > Java are supersets of C,

    I'm sorry?

  10. #25
    i want wookie cookies the Wookie's Avatar
    Join Date
    Oct 2002
    Posts
    455
    our comp sci AP course is going to be in java. i hate java. thats what i had to program in at work, its too slow, and i just dont like it. its powerful and all, but i like my c++. right now our programming course is complete bull$$$$, you only get a little past while loops by the end of 1 year...not even into real c++. and 90% of the kids have a problem with that..i dont get how our district plans to make it an AP course and expect kids to pass the AP...

  11. #26
    booyakasha
    Join Date
    Nov 2002
    Posts
    208
    Originally posted by DarkStar

    No matter how fast that interpretation gets, it will ALWAYS be slower than native.
    but you are forgetting that Java is a language, not an implementation. And there are a variety of different implementations.

    Also Java is usually used for mobile devices and server-side applications and since processors which run java natively are in the works the speed won't be a problem for long.

    But MOST importantly, speed of the program is very often less important and costly then speed of development; so in that category Java has a huge advantage.

  12. #27
    Registered User
    Join Date
    Nov 2001
    Posts
    70
    Originally posted by beege31337
    but you are forgetting that Java is a language, not an implementation. And there are a variety of different implementations.

    Also Java is usually used for mobile devices and server-side applications and since processors which run java natively are in the works the speed won't be a problem for long.

    But MOST importantly, speed of the program is very often less important and costly then speed of development; so in that category Java has a huge advantage.
    Good point.

    > Java are supersets of C,

    I'm sorry?
    It was designed to be a superset of C, and if you knew the syntax well enough you could taste a little bit of C in it aswell.
    "...since anyone who is anyone knows C..." -Peter Cellik

  13. #28
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    > It was designed to be a superset of C

    Proof...

    > if you knew the syntax well enough you could taste a little bit of C in it aswell.

    I do know the syntax, thanks. Any sort of "taste of C" is really minor...

  14. #29
    Registered User
    Join Date
    Nov 2001
    Posts
    70
    Im not going to go to the trouble of getting the proof.. I might stumble upon is one day, but Im kidna busy now.. lets say 5 days ill have some quotes or somthing..
    "...since anyone who is anyone knows C..." -Peter Cellik

  15. #30
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    Originally posted by KrAzY CrAb
    Im not going to go to the trouble of getting the proof.. I might stumble upon is one day, but Im kidna busy now.. lets say 5 days ill have some quotes or somthing..

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mats, the java answers
    By Jaqui in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 04-22-2008, 02:12 AM
  2. C#, Java, C++
    By incognito in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 10-05-2004, 02:06 PM
  3. 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
  4. 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
  5. Java woes
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 07-06-2003, 12:37 AM