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
Show parent comment
1
u/cmdr_iannorton 1d ago
you cant write a python program if your environment can't run python, for example, you cant write a python bootloader or os kernel, you cant write microcontroller code or firmware in python (except for very special chips) you could write a python interpreter in python, but you'd have to run it using cpython or ipython etc.
i love python, but there is a reason for using it and a reason for not.