c++ vs python!
Philip Swartzleonard
starx at pacbell.net
Sun Apr 21 14:25:42 EDT 2002
Aahz || Sun 21 Apr 2002 10:36:11a:
> In article <3CC2D8D7.20601 at student.kun.nl>,
> husam <h.jehadalwan at student.kun.nl> wrote:
>>
>>If we compare c++ with python, which one is faster when it comes to
>>2D, 3D graphics and math. And which one is faster when it comes to
>>design and implementation of "heavy" applications?
>
> Use Python to call C/C++ code for compute-intensive tasks. See the
> Python Game Library and NumPy for examples.
Better yet, just use Numpy and Pygame and you'll probably have enough
speed without putting any of your code into a lower language than
python. PyOpenGL too. Python is great for the 'stand on the shoulders of
giants' / 'let other people do the hard stuff for you' (depending on
perspective =) way of working.
--
Philip Sw "Starweaver" [rasx] :: www.rubydragon.com
More information about the Python-list
mailing list