Python vs. C++

Pages: 123
Ok. But it works best in that sort of situation. You wouldn't use Python for a large, complex 3D game engine -- it would be far too slow.

Python is better suited to programs where performance isn't of great importance; particularly when you have a shorter amount of time to finish the project in.
What if you write the engine in C++ and the game data in Python?

Short and unimportant programs can be written easily in any language

Both C++ and Python are general purpose languages
Bazzy wrote:
What if you write the engine in C++ and the game data in Python?


That's typically the way it's done. Python or Lua. I've written my core engine in C++ and most of my data, AI, etc... is in Lua.

C/C++ is also the primary language used in simulation programming, not to be confused with Game Programming.
Last edited on
@Bazzy,
That's why I said "3D game engine" and not "3D game".

@Return 0
That's what I thought. For some reason, though, Valve seems to write entire games in C++.
You previously wrote:
C++ is really only needed for performance-critical software like games.
That's what I thought. For some reason, though, Valve seems to write entire games in C++.


and we love them for it anyways.
@Bazzy,
And then I wrote:
a large, complex 3D game engine
I have never used python before but I have seen it at work before and I think it's awesome.
Hey anyone know a good tutorial I could take?
You have seen it at work? call my skeptical but arent you the same poster who claimed that everyone was making a big deal that you are just an 11 year old kid? Well you were 10 at the time of posting I'm pretty sure. Anyways A great place to start with python is the python website, they actually have good documentation that you can use to learn the language...ooor you could pick up this free book. Either download the PDF or follow the html pages.

http://www.greenteapress.com/thinkpython/thinkpython.html
Seraphimsan wrote:
call my skeptical but arent you the same poster who claimed that everyone was making a big deal that you are just an 11 year old kid?


lol his profile says:

Bio: I plan to be a professional software programmer when I grow up. Then I'll start my own company.

Birthdate: May 17, 1999
Deleted to prevent further flaming.
Last edited on
*coughs*

@Vexer

roflmao, BS.

@clover leaf

no, just no.
He is an eleven year old that is obviously extremely smart
How is it "obvious"?

I'm going to go ahead and tell you that I am a twelve-year old C++ programmer that currently has a job programming games(I work for a small company)
Must be very small. I doubt any software company that took itself seriously would have children going anywhere near the codebase.
I can picture the company tour.
"...And this is our development department. As you can see, it consists mostly of 9 to 12 year-olds. This is because we have an annual budget of USD 1000 and we found they performed about as well as college graduates if given a constant flow of caffeine and Ritalin."
@Vexer ROFL please shut the hell up. No one is giving the guy crap, his questions are being answered. We merely noticed his comment and thought it was a bit humorous.... as for you...

Vexer wrote:
I'm going to go ahead and tell you that I am a twelve-year old C++ programmer that currently has a job programming games(I work for a small company), and I did NOT reach this by people like you telling me what I can and can't do


LMBO total bull shit. What's the name of the company so I can check?? :) Not to mention depending on where you live (especially in the US) you can't even legally work!! No company would hire a 12 year old outside of a grocery store.

helios wrote:
"...And this is our development department. As you can see, it consists mostly of 9 to 12 year-olds. This is because we have an annual budget of USD 1000 and we found they performed about as well as college graduates if given a constant flow of caffeine and Ritalin."


lol
Last edited on
Most europeans country would have laws to prevent you from working due to workhours, labor, and payments.

Just... Just... Don't.
I didnt tell him he couldnt do anything. in fact I gave him recourses to achieve his goal.

I may have mistinterpreted his statement, but all i was trying to do was get him to quit lying about stuff to look cool, or what ever the reason. Which he has a bit of a record of doing.


Any it may be hard to believe, and I don't expect you to, but i honestly did this as a way to look out for the kid. I has a habitual liar on the internet and off around his age, and it got me into a lot of trouble. I'm just trying to do my part to keep him from going down an idiots road.
Deleted to prevent further flaming.
Last edited on
Because he is actually trying to learn about programming
So, if I tried to fly, that would make me Superman?
Yes it would, superman. Anyway it's time to go save some people or something.
Deleted
Last edited on
Pages: 123