Python vs. C++

Pages: 123
(Well, I can guess the answer from most members of this forum, but anyway,)

I have been using Python for just over a year now and one month ago decided to learn C++ for (what I believed to be) more abilities. I am still on "Command Prompt" -style C++ coding (but am learning Windows API as well as game design with Allegro and plan on learning to use 3D engines) but only got out of that in Python with Pygame (and, of course, the Python Shell, but that doesn't really count) so, which is better for Downloadable App AND game development? I have not fallen out of practice with Python (yet), if anyone really thinks of relearning Python as a difficulty. Also, I am interested in compiling for windows (and others when I finally save up enough for a Mac) no matter what libraries it has, and professional-looking games and apps. So, which is better and why?
You'd code a game in Python? Ugh...

I, no surprise, recommend C++. There are some excellent game engines written in and for C++, and the language is much faster.

You can cross-compile for Mac OS X on Windows. Just... read up a bit on how Mac programs work, and check GCC's docs.

-Albatross

EDIT: 7(/)11 posts, and counting.
Last edited on
closed account (1yR4jE8b)
For simple 2d game development Python/Pygame is the way to go (I'm currently working on a 2d jrpg style game as a toy project in it) and working with Pygame is an absolute joy.

HOWEVER,

For anything serious, you can't beat a rock solid 3d C++ Engine, it's way more difficult, way more frustrating but also way more flexible, and rewarding in the long run.
I find Python to be very convenient and useful, and I've written some pretty cool games with it using PyGame.
I don't even use python I only know C++.
Excuse me, did you just revive a 11-day untouched thread to state that you don't know Python?

-Albatross
Excuse me, did you just revive a 9-hour untouched thread to ask someone if they just revived an 11-day untouched thread to state that they don't know Python?
Yes. Nine hours is considerably less than eleven days.

-Albatross
Last edited on
Excuse me, did you just revive a 11-day untouched thread to state that you don't know Python?


Why does it even matter?
Last edited on
It's a pointless post in a discussion that has come to a virtual completion that does not add anything to the discussion. Any questions?

-Albatross
closed account (jwC5fSEw)
Pointless posts in a discussion that has come to a virtual completion that does not add anything to the discussion? Hmmm, getting some deja vu here...

Excuse me, did you just revive a 11-day untouched thread to state that you don't know Python?
I was answering a question in the last post, as well as the previous one. The first one was to indicate to clover leaf that he did not need to revive the thread, and while it does not add anything to the discussion, it is not pointless. This post is to explain everything to you in order to eliminate the feeling of deja vu which could mean absolutely nothing good.

-Albatross
Either way, it's not adding anything, as you said.

And now for something which does indeed add to the discussion:

I agree with Albatross, and say that C++ is much better for any kind of games programming.
</thread> <!-- Any further postings will result in the end of the universe -->
Edit: QWERTYman, you're very, very lucky...
Last edited on
Nah, further posts just won't validate.
http://validator.w3.org/
;-)
Ah, but chrisname, you forgot that bbcode is what's used in the text body.
Oh, well done Duoas. I look out my window, and what do I see?
This: http://thesamerowdycrowd.files.wordpress.com/2008/12/black-hole.jpg

(I don't know how they got a picture of a black hole, given that the nearest one is roughly very far away).
Only time I use Python is for Dedicated Server plug-ins, for complete applications I'd go for C++ in any case.
Why? Development in Python is much quicker; C++ is really only needed for performance-critical software like games.
C++ is really only needed for performance-critical software like games.
No programming language is ever 'really needed'...
Pages: 123