ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pygame-users
pygame-users
Re: [pygame] pypy?
by Lenard Lindstrom other posts by this author
Aug 23 2006 8:54AM messages near this date
Re: [pygame] pypy? | Re: [pygame] pypy?
On 22 Aug 2006 at 16:20, Timothy Fitz wrote:

>  Let me attempt to clear some pypy things up. PLEASE NOTE, PyPy is a
>  fast moving target, and by that I mean every three months they invent
>  a new paradigm for programming in python.
>  
>  At the moment, you can write in RPython, a subset of python which
>  looks more like pyrex without the type-declarations, and translate
>  that directly and efficiently to C code. Secondly, you can take a
>  fully-RPython library that uses ctypes and translate it into a
>  *CPython* extension library which is STATICALLY linked against the
>  library. This means no more ctypes ffi overhead. PyPy compiled RPython
>  is MUCH MUCH faster than RPython run over CPython. It seems that the
>  average case of translating a Python module to an RPython module
>  results in a speedup.
>  
>  This means if someone is willing to take the time and port SDL-ctypes
>  to RPython, we made see a fair to signficant *immediate* performance
>  boost.
>  
PyPy doesn't compile ctypes. It compiles rctypes, a subset of ctypes. 
As long as the SDL module is only declaring structures and C 
functions it should work.


Lenard Lindstrom
<len-l@[...].net> 
Thread:
Machinimist@Gmail.Com
John Eikenberry
Machinimist@Gmail.Com
Timothy Fitz
Kris Schnee
Timothy Fitz
James Hofmann
renesd
Randy Kaelber
Timothy Fitz
Kris Schnee
Timothy Fitz
Kris Schnee
Timothy Fitz
Lenard Lindstrom
Timothy Fitz

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved