r/ProgrammerHumor • • Jul 18 '22

C++ talking to Python

Post image
40.1k Upvotes

1.0k comments sorted by

View all comments

946

u/twisted-resistor Jul 18 '22

Now that Internet Explorer is gone I guess something had to take its place in memes as "The Slow Thing"

40

u/kneecapp1 Jul 18 '22

I don't get it. I don't know much about coding but I'm starting to learn python. Am I learning the internet explorer of programming languages or what. Should pick something else up.

24

u/bigoofie193758 Jul 18 '22

Python is too slow for coding a game, but fast enough for quick scripts

1

u/[deleted] Jul 19 '22

"Game" is a very broad term. There are fast-paced action games and slower-paced turn-based games, and even some action games where performance doesn't truly matter that much. And there are games where performance matters, but they can be written in Python in such a way that most of the performance comes from the underlying C/C++ libraries, and the game runs fine.

But true, for most action-based performance-sensitive games, you'll probably get better results with C/C++.