+ 1
([Python] or [C++] ) Which one has better future ??
??
9 Respostas
+ 11
Neither of them has a ‘better’ future. Python has its place in the some things, C++ has its place in some other things, and it is going to stay that way.
Just a suggestion, please don't learn a language just because it has a ‘better’ future. Python is growing very, very fast, but that doesn't mean that you should learn Python. I have seen many people who decide which language to learn on the basis of how popular it is. This should never be the criteria. Search the web for sectors in which Python is good, and sectors wherein C++ is good. If you feel more inclined towards Python, learn Python, and if not, learn C++
EDIT:
Just saw your subquestion. For AI, currently Python is gaining popularity. It can be done in C++, but I THINK (not confirmed from any sources) most AI jobs and projects require Python skills
+ 2
C++
- faster
- secure
- real programing
Python
- faster to code
- everyone will use
+ 1
for AI??? Which one is better
+ 1
both, because They both can make games, AI recognition, and a lot more!
+ 1
Each one is "better" in different fields.
In some cases what is better is subjective, and the best language is the one you like the most. But there are some fields in which the language choice is somehow limited.
Usually, c++ is chosen for commercial large software (e.g. game development) that you need to do complex "calculations" all the time, so you need the minimum runtime and good memory management . In such software, c++ has advantages because it is really faster and memory management can be tuned from developers. Of course it has disadvantages like manual memory management, more typing and coding time, but i cant imagine develop such programs with python.
On the other hand python is really powerful in many scientific fields because of a lot of ready and easy to use libraries, and of course it is strongly linked with AI/ML field.
- 3