•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Game Development section within the Software Development category of DaniWeb, a massive community of 426,410 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,334 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Game Development advertiser: Programming Forums
Views: 2006 | Replies: 15
![]() |
I would've thought Python would be painfully slow for any real games...
I mean, here's an earlier speed test I ran in Java, C, and Python using equivalent calculations for each language:
How could performance like that ever be used for 3d games like in C, C++, and Java?
I mean, here's an earlier speed test I ran in Java, C, and Python using equivalent calculations for each language:
Python Pi Calculator: 10000000 (10m) iterations 11 seconds using floating point math; 8 seconds using integer math; Java Pi Calculator: 10000000 (10m) iterations less than 1 second using integer math; less than 1 second using floating point math; ~3 seconds @ 100000000 (100m) iterations using integer math ~9 seconds @ 100000000 (100m) iterations using long math 26 seconds @ 1000000000 (1b) iterations using floating point math C Pi Calculator: 10000000 (10m) iterations less than 1 second using integer math; less than 1 second using floating point math; 19 seconds @ 1000000000 (1b) iterations using floating point math
How could performance like that ever be used for 3d games like in C, C++, and Java?
•
•
Join Date: Apr 2005
Location: Old Hampshire, Old England (LOL)
Posts: 11,937
Reputation:
Rep Power: 30
Solved Threads: 268
They use Python a fair bit in turn based strategy games actually (The newer installments in the Civ familty, for example)
TRY MY SUGGESTIONS AT YOUR OWN RISK!
james.bennet1@ntlworld.com
james.bennet1@ntlworld.com
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,752
Reputation:
Rep Power: 18
Solved Threads: 199
•
•
Join Date: Apr 2005
Location: Old Hampshire, Old England (LOL)
Posts: 11,937
Reputation:
Rep Power: 30
Solved Threads: 268
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,752
Reputation:
Rep Power: 18
Solved Threads: 199
![]() |
•
•
•
•
•
•
•
•
DaniWeb Game Development Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
activex advertising ajax asp blogging browser business code console developer development exploit firefox game games google hardware html intel internet linux marketing microsoft mozilla news nintendo playstation programming ps3 revenue rss search security software sony sql stocks sun video video game vista w3c web web development wii wiki windows xbox 360 xml yahoo
- How to create image maps that look so nice... (Graphics and Multimedia)
- Gaming forum and it is not growing (Growing an Online Community)
- *The* Problem With JSP...? (JSP)
- Making Webpages that conform to the users resolution (Site Layout and Usability)
- Help meeeee (Site Layout and Usability)
Other Threads in the Game Development Forum
- Previous Thread: how to Run the game in wtk
- Next Thread: Trouble Installing Worlf of Warcraft on my Laptop



Linear Mode