Jump to content
Posted 22 August 2012 - 01:03 PM
Posted 22 August 2012 - 01:07 PM
Edited by saejox, 23 August 2012 - 11:12 AM.
Posted 22 August 2012 - 01:18 PM
Posted 22 August 2012 - 01:47 PM
If Python is fast enough to run Eve, it's fast enough to run a simulation game.
throw table_exception("(ノ ゜Д゜)ノ ︵ ┻━┻");
Posted 22 August 2012 - 01:53 PM
Edited by Gnorme, 22 August 2012 - 01:58 PM.
Posted 22 August 2012 - 02:18 PM
I'm not familiar with it but how much simulation is actually going on (and is it calling into optimized, native code to do the heavy lifting), and is it going on client-side or server-side?
Posted 22 August 2012 - 03:22 PM
python cant handle that much computation.
look at dwarf fortress. written in c++ still runs slow on high end machines.
Posted 22 August 2012 - 03:38 PM
Thank you for the responses
The project is in it's infancy, but I'm trying to make sure I start off on the right foot. I've never programmed something intensive enough for me to have to worry about the limitations of a language.
Any thoughts on SDL vs SFML for c++?
and for Python would Pyglet or Pygame be better?
Posted 22 August 2012 - 04:37 PM
Posted 22 August 2012 - 04:56 PM
So if you ever want to not be limited to one CPU core, you'll want to verify whether or not that's true today before you get too far with Python.
Edited by phantom, 22 August 2012 - 05:51 PM.
Posted 22 August 2012 - 05:30 PM
Yes, EvE uses stackless python. It does not, however, use multiple threads. It suffers from the GIL as well. It uses tasklets which are essentially microthreads which get run on a single thread. The "multithreading" behavior is cooperative.
There is also Stackless Python, which if memory serves is what Eve uses, which can let use us multiple threads too.
Edited by Washu, 22 August 2012 - 05:32 PM.
In time the project grows, the ignorance of its devs it shows, with many a convoluted function, it plunges into deep compunction, the price of failure is high, Washu's mirth is nigh.
ScapeCode - Blog | SlimDX
Posted 22 August 2012 - 05:48 PM
Posted 22 August 2012 - 08:13 PM
Edited by ddn3, 22 August 2012 - 08:14 PM.
Posted 23 August 2012 - 07:22 AM
Yeah, about that. CPython is the reference version. IronPython is much faster though if the OP is willing to use .net (or mono), this would of course mean pyglet or pygame would be out of the window, SDL has a .net binding though which works from IronPython (pygame is also just an SDL binding).
if you can leverage optimized versions like CPython or IronPyhon
Posted 23 August 2012 - 08:19 AM
Posted 23 August 2012 - 08:54 AM
If I start going that route, why not just use c# directly then? I'm not the biggest fan of the Visual IDE and XNA, but I will go that route if it's very appealing. What sort of cross platform doors will be open to me if I do?
Posted 23 August 2012 - 10:57 AM
Posted 25 August 2012 - 06:07 AM
Assuming you're comfortable with both C++ and Python, then once you've decided on a language the standard answer is just to use whichever of you have the most experience with. SFL or SFML for C++, or Pyglet or Pygame for Python.
Edited by breinygames, 25 August 2012 - 06:12 AM.
Posted 25 August 2012 - 07:18 AM