Re: [pygame] Linux binaries

2008-11-07 Thread Brian Fisher
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.

Re: [pygame] Linux binaries

2008-11-07 Thread Patrick Atambo
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.

Re: [pygame] Linux binaries

2008-11-07 Thread yanom @linuxmail.org
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

Re: [pygame] Linux binaries

2008-11-06 Thread Patrick Atambo
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,

Re: [pygame] Linux binaries

2008-11-06 Thread Peter Gebauer
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

Re: [pygame] Linux binaries

2008-11-06 Thread Matt Pearson
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

Re: [pygame] Linux binaries

2008-11-05 Thread Peter Gebauer
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

Re: [pygame] Linux binaries

2008-11-05 Thread René Dudfield
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

Re: [pygame] Linux binaries

2008-11-05 Thread Matt Pearson
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

Re: [pygame] Linux binaries

2008-11-05 Thread Matt Pearson
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,

Re: [pygame] Linux binaries

2008-11-05 Thread Matt Pearson
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

Re: [pygame] Linux binaries

2008-11-05 Thread yanom @linuxmail.org
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

Re: [pygame] Linux binaries

2008-11-05 Thread James Paige
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

Re: [pygame] Linux binaries

2008-11-05 Thread Bill Coderre
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

Re: [pygame] Linux binaries

2008-11-04 Thread Greg Ewing
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

Re: [pygame] Linux binaries

2008-11-04 Thread Patrick Mullen
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.

Re: [pygame] Linux binaries

2008-11-04 Thread yanom @linuxmail.org
- 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

Re: [pygame] Linux binaries

2008-11-04 Thread Greg Ewing
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,

Re: [pygame] Linux binaries

2008-11-04 Thread Charlie Nolan
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.

Re: [pygame] Linux binaries

2008-11-04 Thread bhaaluu
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

[pygame] Linux binaries

2008-11-03 Thread yanom @linuxmail.org
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

Re: [pygame] Linux binaries

2008-11-03 Thread James Paige
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