Boost is C++.
On Thu, Nov 6, 2008 at 5:42 AM, Peter Gebauer
[EMAIL PROTECTED] wrote:
Hey there!
There are some alternatives, some like automatic generation like Swig,
Boost, etc, some like Pyrex, I prefer to write Python extensions in C using
the standard Python C-implementation API.
For most libraries you could use Ctypes.
On 11/6/08, Peter Gebauer [EMAIL PROTECTED] wrote:
Hey there!
There are some alternatives, some like automatic generation like Swig,
Boost, etc, some like Pyrex, I prefer to write Python extensions in C using
the standard Python C-implementation API.
ahhh... i see
It's like the Rube Goldberg machines of the computer world.
- Original Message -
From: James Paige [EMAIL PROTECTED]
To: pygame-users@seul.org
Subject: Re: [pygame] Linux binaries
Date: Wed, 5 Nov 2008 17:03:36 -0800
Here is a nice bogosort
http
For algorithms you could try Weave, a package in SciPy, no need to compile
with any compiler, it just runs, Fast.
Check these http://www.scipy.org/PerformancePython comparisons out, the
only thing faster than Pyrex, C++ on Weave, without the additional memory
overhead of Pyrex :-)
Kind Regards,
Hey there!
There are some alternatives, some like automatic generation like Swig,
Boost, etc, some like Pyrex, I prefer to write Python extensions in C using
the standard Python C-implementation API. PyGame, being written in C, is
also easy to access.
As for C++, I don't know of any specific
im sorry if this is the wrong forum but im having an error
im doing the AI example in Will McGugans Python/Pygame book
The error is
run()
NameError: name 'run' is not defined
i have the lastest gameobjects module so im kinda stumped
and its not using OpenGL either
thanks
On Wed, Nov 5, 2008
Hi guys!
I agree, just wanted to add that many iterations over trivial code benefits
(speed-wise) tremendously from being written in C and accessed in Python, or
at least that is my experience. :)
Guess you have to weigh it against the added complexity of having to compile
C code, maybe for
yeah, best to use both! Use each tool where it is best at - and get
best of both worlds!
cu,
On Thu, Nov 6, 2008 at 12:53 AM, Peter Gebauer
[EMAIL PROTECTED] wrote:
Hi guys!
I agree, just wanted to add that many iterations over trivial code benefits
(speed-wise) tremendously from being
i agree, does the wrapper have a name, or is it on the python/pygame sites
On Wed, Nov 5, 2008 at 8:13 AM, René Dudfield [EMAIL PROTECTED] wrote:
yeah, best to use both! Use each tool where it is best at - and get
best of both worlds!
cu,
On Thu, Nov 6, 2008 at 12:53 AM, Peter Gebauer
nvm i just got to see which one wil be the best for what im doing
On Wed, Nov 5, 2008 at 8:29 AM, Matt Pearson [EMAIL PROTECTED] wrote:
i agree, does the wrapper have a name, or is it on the python/pygame sites
On Wed, Nov 5, 2008 at 8:13 AM, René Dudfield [EMAIL PROTECTED] wrote:
yeah,
i have been doing C++ for a while now and was wondering if there was a
python
wrapper for it, if so can i use and compile in visual studio??
On Wed, Nov 5, 2008 at 7:53 AM, Peter Gebauer
[EMAIL PROTECTED] wrote:
Hi guys!
I agree, just wanted to add that many iterations over trivial code
thought that Binary Blobs where faster than
Source Blobs.
- Original Message -
From: bhaaluu [EMAIL PROTECTED]
To: pygame-users@seul.org
Subject: Re: [pygame] Linux binaries
Date: Tue, 4 Nov 2008 23:27:48 -0500
On Mon, Nov 3, 2008 at 5:10 PM, yanom @linuxmail.org
[EMAIL PROTECTED
Here is a nice bogosort
http://www.siafoo.net/algorithm/5
On Thu, Nov 06, 2008 at 08:48:04AM +0800, yanom @linuxmail.org wrote:
What's Bogosort?
- Original Message -
From: Charlie Nolan [EMAIL PROTECTED]
To: pygame-users@seul.org
Subject: Re: [pygame] Linux binaries
Date: Tue
On Nov 5, 2008, at 4:48 PM, yanom @linuxmail.org wrote:
What's Bogosort?
Back in my day, we didn't have Wikipedia, we had the Jargon file, and
we LIKED it. (Note that although if I am really to show my age, I have
to decry the Eric Raymond update which, to a large extent, diluted
the
yanom @linuxmail.org wrote:
I understand you can use py2exe to make your python program into
a Windows executable, but is there a tool for making them into a
Linux binary? I want my game to run faster.
If you're thinking that py2exe makes Python programs run faster
on Windows, you're assuming
On Tue, Nov 4, 2008 at 12:55 AM, Greg Ewing [EMAIL PROTECTED] wrote:
The only way to improve speed is to re-code the cpu-intensive
parts using something more efficent, such as C or Pyrex.
--
Greg
Or, of course, write better python code if possible in those parts.
- Original Message -
From: Greg Ewing [EMAIL PROTECTED]
To: pygame-users@seul.org
Subject: Re: [pygame] Linux binaries
Date: Tue, 04 Nov 2008 21:55:45 +1300
yanom @linuxmail.org wrote:
I understand you can use py2exe to make your python program into
a Windows executable
Patrick Mullen wrote:
On Tue, Nov 4, 2008 at 12:55 AM, Greg Ewing [EMAIL PROTECTED] wrote:
The only way to improve speed is to re-code the cpu-intensive
parts using something more efficent, such as C or Pyrex.
Or, of course, write better python code if possible in those parts.
Yes,
Yes, certainly -- finding a better algorithm is always
the best form of optimization!
Yup. Even a supercomputer is going to choke if you feed it Bogosort.
On Mon, Nov 3, 2008 at 5:10 PM, yanom @linuxmail.org
[EMAIL PROTECTED] wrote:
I understand you can use py2exe to make your python program into a Windows
executable, but is there a tool for making them into a Linux binary? I want
my game to run faster.
Your game will run faster on GNU/Linux
I understand you can use py2exe to make your python program into a Windows
executable, but is there a tool for making them into a Linux binary? I want my
game to run faster.
=
Industrial Air Cleaner
With hepa and activated carbon filters for industrial laser users. High vacuum
turbines and
On Tue, Nov 04, 2008 at 06:10:03AM +0800, yanom @linuxmail.org wrote:
I understand you can use py2exe to make your python program into a Windows
executable, but is there a tool for making them into a Linux binary? I want
my game to run faster.
cx_freeze can bindle your python application
22 matches
Mail list logo