Thread: C++ Dead(disuss, Jesse Liberty forums)

  1. #1
    meow nbk's Avatar
    Join Date
    Jul 2004
    Posts
    45

    C++ Dead(disuss, Jesse Liberty forums)

    763.1

    I generally do not encourage questions on these forums that are beyond the scope of my books, but I wanted to ask this community about the following proposition. I am not wedded to this idea, I'm just trying it out. Feel free to disagree as strongly as you like....

    C++ Is Dead (but it doesn't know it yet)

    1. Java offers a very strong alternative to C++ for cross platform development. The Java library is rich, and Java itself is a more modern, garbage collected language. Java will be king of the non-Microsoft world soon if it is not there already.

    2. Microsoft has bet the company on .NET and over the next few years all Windows development (for Windows desktop and for Windows Web applications) will move to .NET. C# is far superior to C++ for .NET development.

    Given these two statements, the only audience I see for C++ in 3-5 years is in legacy applications and those few applications where performance is everything.


    In short, I think C++ in 2004 will look a lot like Assembler in 1994. I'm not happy about this (a lot of my revenue is in C++ primers) but it does seem inevitable. If a programmer came to me today and asked my advice about C++ vs. Java, I'd steer him to C# first, Java second, C++ third.
    This is taken from Jesse Liberty's forums(author of Teach Yourself C++ in 21 days). I thought this was interesting.

    http://forums.delphiforums.com/Liber...ges/?msg=763.1
    Last edited by nbk; 07-30-2004 at 03:04 PM.

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Last edited by Thantos; 07-29-2004 at 04:45 PM.

  3. #3
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Perhaps for the particular domains he is working in... I'll hold off on believing that until someone can show be a good, fast, and efficient FEA library in Java.

  4. #4
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    As much as I like it, I really don't think .NET is as widespread as it seems at first. By his thinking, C should've been dead years ago, but the fact is, every language is different and useful for different things. Assemblys not dead. Many of the big companies pay through the nose to get good System 370 programmers because no one knows it, but all the big companies are tied down to it. My Dad learnt System 370 and now can get whatever he wants from the company because they know they need him, and that he can't be replaced very easily at all.

  5. #5
    'AlHamdulillah
    Join Date
    Feb 2003
    Posts
    790
    if anything, I would say that this news just makes it more important to learn the "old fashion" languages like C/++ and assembler.
    there used to be something here, but not anymore

  6. #6
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Quote Originally Posted by nbk
    A great programmer has a 'theory' that C++ will die - you don't hear that from big people often)
    just because you were hired to write a SAMS book doesn't mean you're a great programmer, or for that matter, have any real idea of what's going on in the industry

    If you have some other reason to call him a great programmer, please do, but for now, I don't see somebody that thinks you can learn C++ in 21 days is worth the time to listen to...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  7. #7
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    An excellent point, major_small. Someone at the C++ board was telling me that some guy who worked on the ANSI standards had said that all C code was portable to C++ and that with no exaggeration, C++ was a superset of C. While this may be a good way of explaining things to newbies, someone speaking at this level should be making that distinction, and the next time they quoted him on a different subject, I said that if he really thought C++ was nothing more than an addition to C, he shouldn't be working on the ANSI standards, and I didn't care how "high up" he was. Just because someone holds a certain position does not mean they are qualified to. Prelude probably knows more than that guy.

  8. #8
    Registered User Dante Shamest's Avatar
    Join Date
    Apr 2003
    Posts
    970
    C++ dead?

    Isn't Mozilla coded in C++?

    And isn't Doom 3's engine coded in C++ too?
    Last edited by Dante Shamest; 07-30-2004 at 09:54 AM.

  9. #9
    Registered User
    Join Date
    Jul 2004
    Posts
    101
    >>you don't hear that from big people often
    For good reason. Popular programming languages do not die, they merely fall out of the media's view in favor of newer and "better" languages. For a language to truly die, nobody must use it, the source base must be replaced, all code written in it must never be maintained, and any replacement must be able to perform all of its duties with equal or better ability. Anyone who says otherwise is woefully misinformed.

    The article posted suggests that C++ will only be used for legacy applications and performance critical software. While I am disinclined to try my hand at predicting the future, the extraordinary source base of C++ is likely to keep C++-centric programmers employed for many decades to come. To me, this does not suggest that C++ is dead by any stretch of the imagination.

    Naturally, I have come to the same conclusion with the C language as well.

  10. #10
    Like princeton said, popular languages do not die. Yeah, maybe PC programming will start to favor Java and C#, blah blah blah, but there are lot more things you can program than just a PC. I do a lot of programming for robotics controllers, and I don't think I'll be using C# any time soon. I use a mixture of C and assembly for robotics. Yeah, I know there are some controllers that support java, but it is a huge waste of space and speed.

    The point is that these newer programming languages need more to run. C# requires you to have the .NET framework installed. Java requires the JRE. For many applications, you don't have the space to support this. The robot controller I use has barely over a megabyte of Flash space.

  11. #11
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    All in favor of wishing these discussion would die say Aye.

  12. #12
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Aye. (and a big part of the reason C will stay like Princeton said - it's the perfect miz between low-level power and high-level syntax, yet it is almost infinitely flexible)

  13. #13
    Registered User
    Join Date
    Jul 2004
    Posts
    12
    I keep hearing that MS next OS is not going to allow unprotected programs to run or maybe it was programs that are not made with the .NET technology. Is this really true? are MS really going to break there chain of compatibility with older versions of their OS?

    if this is the case then MS are going to lose big time and if thats not the case then C++ is going to stay for a very long time (it is going to stay even if that was the case).

    Anyway, does anyone knows the truth about what I said?

    -none-

  14. #14
    'AlHamdulillah
    Join Date
    Feb 2003
    Posts
    790
    keep hearing that MS next OS is not going to allow unprotected programs to run or maybe it was programs that are not made with the .NET technology. Is this really true? are MS really going to break there chain of compatibility with older versions of their OS?

    if this is the case then MS are going to lose big time and if thats not the case then C++ is going to stay for a very long time (it is going to stay even if that was the case).
    yes, you are in fact correct about what you have just said, with one slight modification : old unmanaged code will still run, but you will get an error message and a prompt asking whether or not you wish to continue running the code.

    I also vote for the ending of this thread and other's like it.
    there used to be something here, but not anymore

  15. #15
    In The Light
    Join Date
    Oct 2001
    Posts
    598
    Howdy,
    I'll bet Liberty will start selling his new java and C# books next week...

    M.R.
    I don't like you very much. Please post a lot less.
    Cheez
    *and then*
    No, I know you were joking. My point still stands.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Java Forums
    By misplaced in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 05-04-2005, 03:39 PM
  2. Assembly forums
    By dirkduck in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 03-25-2002, 01:40 PM
  3. IPB Forums
    By Jock in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 03-06-2002, 03:09 PM