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?
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?
> 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.
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.
You'd need Olmec to teach you how to get through obfuscated assembly code.
Though he cannot help you with perl.
Someone in China already reversed engineered skype IIRC
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.
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.
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*