Which is Future language Java or c++ | Sololearn: Learn to code for FREE!
+ 2

Which is Future language Java or c++

for specially to learn machine programming as I like artificial intelligence very much.

31st Jul 2017, 5:45 AM
Jaydeep Ranpariya
Jaydeep Ranpariya - avatar
2 Respuestas
0
I hope c++, not a fan of Java. And according to this link it looks like c++ is more popular. (link isnt working right, just copy paste full) https://trends.google.com/trends/explore?q=Java,c%2B%2B
31st Jul 2017, 8:02 AM
Jordan Chapman
Jordan Chapman - avatar
0
Java will likely be used more in the future, however both languages will still be used as they have different advantages and uses that won't change much I'm the future: Java - A program can be compiled once and run on any machine that runs Java. Java handles it's memory with an automatic 'garbage collection' type memory clean-up, allowing the programmer to use stack memory without worrying about deallocating specific variables. C++ - Brilliant for handling memory with its pointer and memory address operations but at the cost of leaving deallocation to the programmer. C++ programs are also known to be faster than Java programs in most cases. In short, C++ is often used in situations where memory and efficiency is important e.g. game engines and banking software, where as Java is often used for its multiple OS compatibility, it's many built in methods (JDK) and it's simplistic memory handling. Surprisingly many programmers don't mind loosing the benefits of using C++. If you think about it, Java is already becoming the future language as it runs almost every app on smartphones now, and a wide range of desktop apps.
31st Jul 2017, 9:38 AM
Christian Benner
Christian Benner - avatar