Thread: When Will C++ and Java Fall by the Way Side?

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    204

    When Will C++ and Java Fall by the Way Side?

    I imagine that one day C++ and Java will no longer be in widespread use. When do you think this will happen? Do you think the languages might still be among the most common in 50-100 years? What kind of language do you think will replace them?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    > I imagine that one day C++ and Java will no longer be in widespread use. When do you think this will happen?
    The demise of Fortran and COBOL have been long predicted, but the problem is there is a massive user base already installed. This requires a lot of maintenance, so inevitably people are going to learn them. And also write new programs in the same languages for convenience, thus perpetuating the cycle.

    C, C++ and Java are similarly well entrenched, and will take a long time to dislodge.

    The AI crowd might get their act together in the next 100 years, and most machines may end up being self-taught. Machine evolution is running at about 1M times biological evolution. Eventually, they will pass us and not even notice the bump in the road.

    Plus, when machines start teaching machines, the pace will really hot up when the human part of the cycle is eliminated.
    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.

  3. #3
    Registered User
    Join Date
    Jul 2007
    Posts
    88
    I also think first the evolution creates creatures, those creatures create technique and technique is just one more step of the evolution. We won`t stop improving out technique, if you don`t die before we will create more powerful creatures we can no longer control. The question is not ob, it`s just when.

    C++ will not die until there is a real replacement. Until now there is NO replacement, there are just alternatives which might be better at a small purpose. C is deep in most important operating systems. Right now it`s not even close to get unpopular. The strength of C is that you are free to do whatever you want, at a solid base it`s a 100% free in freedom iso standard, no law layer can hurt you. You are not addicted to anyone, you may create your own implementation at any time (compared with microsoft`s dot net).

    It`s a multi purpose language. You can even write drivers and use inline assembler and you can access the memory directly. C++ is also the only solid language for bigger projects. Example, theoretically you could also write a browser in java or dot net. But practically no one right now was able to prove it, the second best browser imho is opera and the best is firefox. If some language would have been better for that then anyone would have a famous project running.

    C is a racing car, it compiles into machine code while java and dot net only compile into bytecode. C++ is best if you want to protect your sourcecode from being stolen, look at Skype, a popular pc to pc voice software. It`s protocol is still secret, no one on earth right now was able to reverse engineer it. This can`t be done with any other language.

    I could imagine an replacement for C++. It would need all to take all advantages from C++ (means no stupid licenses, no bytecode, etc...) but it must able to create faster writeable, better read, better understandable, smaller and better maintainable sourcecode at the price of being no longer compatible with C and C++. It would be basically a design improvement of C++ but without copying all errors made long time ago in C. This is the new programming language of my dreams.

  4. #4
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Quote Originally Posted by sept View Post
    C is a racing car, it compiles into machine code while java and dot net only compile into bytecode. C++ is best if you want to protect your sourcecode from being stolen, look at Skype, a popular pc to pc voice software. It`s protocol is still secret, no one on earth right now was able to reverse engineer it. This can`t be done with any other language.
    O rly? You could do 10 times more obfuscated code with assembly.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  5. #5
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    You'd need Olmec to teach you how to get through obfuscated assembly code.

    Though he cannot help you with perl.

  6. #6
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Someone in China already reversed engineered skype IIRC

  7. #7
    Registered User
    Join Date
    Jul 2007
    Posts
    88
    Quote Originally Posted by maxorator View Post
    O rly? You could do 10 times more obfuscated code with assembly.
    Yes, but you donīt get maintainable sourcecode if you want to use it for big projects. At least not at an effective base, otherwise someone would do so. An C++ seamed to be fine enough anyway for this job.

    Quote Originally Posted by Perspective View Post
    Someone in China already reversed engineered skype IIRC
    That`s not true. It`s just a whisper. No prov at all, someone did know someone how claimed to know someone who got it. Sorry, reread this story again you will see it`s gossip.

  8. #8
    Registered Abuser
    Join Date
    Jun 2006
    Location
    Toronto
    Posts
    591
    Quote Originally Posted by Salem View Post
    The AI crowd might get their act together in the next 100 years, and most machines may end up being self-taught. Machine evolution is running at about 1M times biological evolution. Eventually, they will pass us and not even notice the bump in the road.
    Plus, when machines start teaching machines, the pace will really hot up when the human part of the cycle is eliminated.
    indeed, the ultimate form of evolutionary supremacy is when you are able to create a species that exceeds your own in superiority. Sadly, why this notion doesn't seem to be a widely intriguing topic for the entirety of the human race (at the moment) reflects our inability as a race, to invest in and commit to delayed gratification (self included).
    *waits for AI winter to end*

  9. #9
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Quote Originally Posted by Salem
    The AI crowd might get their act together in the next 100 years, and most machines may end up being self-taught. Machine evolution is running at about 1M times biological evolution. Eventually, they will pass us and not even notice the bump in the road.

    Plus, when machines start teaching machines, the pace will really hot up when the human part of the cycle is eliminated.
    Yeah it's called Skynet...

Popular pages Recent additions subscribe to a feed