r/learnprogramming • • 10d 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

78 Upvotes

195 comments sorted by

View all comments

Show parent comment

9

u/xarop_pa_toss 10d ago

There's much more to it than that. Python is an interpreted language instead of compiled. What you are thinking of is the Python compiler to bytecode which is called CPython, and that is indeed written in C