Python hardware support


Sephiroth

Still Fresh
Joined
Jul 11, 2006
Messages
658
Age
29
Location
Germany>kaiserslautern>Hohenöllen
Website
Visit site
hello again!


as we all know, python scirpt that are using pygame are currently very slow on the pandora. I've read several posts (from ED) where he explained that like this:

I guess that's because pygame is just a direct compile doesn't use hardware surfaces, etc.
source
Now the question: is this under development by somebody?


Is this a really big thing?


I don't want to nag, only ask.. :) i have a lot of time till my game is finished;D


greetings from germany
 
Last edited by a moderator:

Aninhumer

Guy with scary face.
Joined
Dec 13, 2005
Messages
1,156
Age
28
Website
Visit site
I believe Pygame is mostly a wrapper around SDL, so as soon as someone accelerates SDL that will carry over to Pygame.


And I have no doubt that SDL will be improved at some point, there's just a lack of devs with hardware at the moment.
 

Benoît E. Donnette

Still Fresh
Joined
Oct 15, 2010
Messages
23
Age
47
I believe Pygame is mostly a wrapper around SDL, so as soon as someone accelerates SDL that will carry over to Pygame.


And I have no doubt that SDL will be improved at some point, there's just a lack of devs with hardware at the moment.
Well, you're probably fully right, and I'm probably looking for a few microsecs gain, but has anyone ever considered riting the Python virtual machine and optimized it using Jazelle ? I guess it could be a fairly profitable approach - again once the SDL has been decently optimized for the Pandora.


That's something I'd be interested in, anyone has informations about the Jazelle 2 instructions set ?
 

urjaman

"I Know. We're going for a ride."
Joined
Jan 6, 2009
Messages
1,111
Age
29
Location
Finland
Website
urjaman.dy.fi
AFAIK (or as I've heard) The Jazelle in the C-A8 is a null implementation. No speedup to be expected, its just compatible with JVMs using it. (AFAIK (again) the system allows any instruction to be deferred to software function. This implementation does that for all instructions.)
 

Benoît E. Donnette

Still Fresh
Joined
Oct 15, 2010
Messages
23
Age
47
AFAIK (or as I've heard) The Jazelle in the C-A8 is a null implementation. No speedup to be expected, its just compatible with JVMs using it. (AFAIK (again) the system allows any instruction to be deferred to software function. This implementation does that for all instructions.)
Well, if i read from : there, the Jazelle RCT is marketized as good for Python, so it's worth a try...


However, digging the instruction manual gives you right, it is announced as a "trivial implementation"... Too bad...
 

limpopokanoah

Still Fresh
Joined
Mar 5, 2009
Messages
25
Location
Spring, TX
Last edited by a moderator:
Top