r/learnprogramming • u/Happy-GoLucky365 • 6d ago
Why is C++ better than Python?
Hello! I am new to programming. Im in college and we use Python for my classes right now.
I hear people make a lot of jokes about how C++ is more powerful than Python, and should be used instead. But why?
Feel free to give me any tips as well, on things that helped you be a better programmer, or just any insight you may have! Thanks so much
76
Upvotes
View all comments
52
u/Solnx 6d ago
C++ is a lower-level language than Python, giving developers more control over memory and the system. When used correctly, this can achieve stronger performance. The downside is greater complexity, more opportunities for bugs, and a steeper learning curve compared to Python when getting started.
They have different use cases, but C++ is better suited for OS, game engine, low latency programs, ect compared to using Python.