+ 3
What's python used for? Is it better than c++?
17 Respuestas
+ 8
I'd like to make one thing clear. Both C++ and python can almost solve the same problems.
The differences however are:
- C++ requires some more computer and memory knowledge than python.
- Python is more beginner friendly, but that doesn't mean that C++ is bad for beginners. In fact, C++ was my first programming language to learn.
- C++ is faster than python, but the speed difference might only be noticeable to an average human being when running a resource intensive program written by either language
- Fun fact: the original implementation of python is called CPython and that language is written in C
- One answer here says python is better than C++ for Data Science. Actually that's not fully true unless by "better" they meant that shorter code and many libraries/modules are available
In the end, I recommend you read a few articles on that. Any article that has the writer stating their own opinion should be ignored because there's a big chance they'll be misleading.
+ 12
Both are fast.
C++ has better and faster execution speed.
Python is faster in development, less code,less time so booster for development
+ 9
I support BeegCat s answer
Cpp is faster and better and those who learns it has much better logic rather than python devs(not being rude to python) cos python has lots of built in libraries nd functions that just solves everything without much hardwork.....but still there's not such a beginner friendly & powerful lang like python ever..
+ 7
Check the below thread ,especially the answers by VAMSI ...
Python vs C++ comparison threads are given to u by Aysha Simra ...
Also Pls use the search bar next time to avoid duplicates
https://www.sololearn.com/Discuss/2590605/?ref=app
+ 7
Adams Kolawole C++ is not a Low level language...It is a mid-level language
+ 5
With Django you can do back end web development in python easier than in C++.
+ 4
Python is better than C++ for Data science.
+ 4
AI/ML is easier in Python.
+ 2
Alphin K Sajan low-level languages are machine and assembly code. Any other language other than that is high-level. Mid-level languages do not exist
+ 2
Cryptic Art What he means by “mid level language” is that it has low level functionality, like the ability to run on almost bare metal, but it is also easily readable and writable.
+ 1
Python using for every one. But most popular python using web and data science. C++ using for highload systems
+ 1
Adams Kolawole Where did you get the notion that C++ is not general purpose? I dont know if you realize most of python is written in C/C++...
0
It depends on what criteria suit you best. If you don't want to bother with the syntax, use Python, if you want fast performance then C ++, you can also read various sites on this topi. Sorry if I wrote something wrong
- 2
Python is a general purpose language, while c++ is a not
But python is a high level language
C++ is not but it is a low level language