Re: [pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-12-01 Thread Maciej Fijalkowski
On Wed, Dec 1, 2010 at 9:48 AM, Stefan Behnel wrote: > Paolo Giarrusso, 01.12.2010 00:34: >> Anyway, this does not interact with benchmarks above - Stefan, I still >> don't get why you complained that pyexpat is slow by showing >> benchmarks for another module, I guess I do not understand your ema

Re: [pypy-dev] a possible leak in the object namespace...

2010-12-01 Thread Alex A. Naanou
On Tue, Nov 30, 2010 at 20:33, Carl Friedrich Bolz wrote: > Hi Alex, > > On 11/29/2010 09:02 PM, Alex A. Naanou wrote: >> >> On Mon, Nov 29, 2010 at 21:46, Carl Friedrich Bolz  wrote: > > [snip] >>> >>>  a) lots of attributes, which we expect to be rare >>>  b) access them with setattr, which is a

[pypy-dev] (no subject)

2010-12-01 Thread renaud blanch
hi, i'm trying to make some pyopengl [0] -based code [1] run on top of pypy. this is partially successful, but i need some advice to progress further. pyopengl 3.x makes use of ctypes to provide the opengl binding, and it works out of the box for simple functions (those that do not takes c-pointer

[pypy-dev] pyopengl on pypy

2010-12-01 Thread renaud blanch
sorry, i forgot to put a subject. renaud ___ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev

[pypy-dev] pyopengl on pypy

2010-12-01 Thread renaud blanch
this time with a subject, the message, and my apologies for the noise, renaud On 12/1/10, renaud blanch wrote: > hi, > > i'm trying to make some pyopengl [0] -based code [1] run on top of pypy. > this is partially successful, but i need some advice to progress further. > pyopengl 3.x makes use of

Re: [pypy-dev] (no subject)

2010-12-01 Thread Maciej Fijalkowski
Hey. I would suggest using array module. It allocates memory in a non-moving location and it's address can be found using buffer_info method. Cheers, fijal On Wed, Dec 1, 2010 at 3:18 PM, renaud blanch wrote: > hi, > > i'm trying to make some pyopengl [0] -based code [1] run on top of pypy. > t

Re: [pypy-dev] pyopengl on pypy

2010-12-01 Thread Armin Rigo
Hi Renaud, On Wed, Dec 1, 2010 at 2:21 PM, renaud blanch wrote: >>> We'd need to find a mechanism in PyPy that would give us that direct >>> memory-pointer access to be able to use it.  Note: a compacting garbage >>> collector (or anything else that can move memory locations) will cause >>> probl

Re: [pypy-dev] pyopengl on pypy

2010-12-01 Thread Amaury Forgeot d'Arc
Hi, 2010/12/1 renaud blanch > > i'm trying to make some pyopengl [0] -based code [1] run on top of pypy. > > this is partially successful, but i need some advice to progress further. > > pyopengl 3.x makes use of ctypes to provide the opengl binding, and it > > works out of the box for simple fu

Re: [pypy-dev] pyopengl on pypy

2010-12-01 Thread rndblnch
hi, Amaury Forgeot d'Arc gmail.com> writes: > But IMO the call to pythonapi.PyString_AsString could be removed in > OpenGL/arrays/strings.py: > > def dataPointer(value): >     return ctypes.cast(ctypes.c_char_p(value), ctypes.c_void_p).value great, this replacement (and also the one suggested b

Re: [pypy-dev] [PyPy Status Blog] New comment on PyPy 1.4: Ouroboros in practice.

2010-12-01 Thread Antonio Cuni
On 01/12/10 23:21, Amaury Forgeot d'Arc wrote: [cut] > There is already an ongoing effort to port PyPy to Python 2.7. > > But we need some help! It's a good way to become a PyPy developer. > And no, you don't have to be a JIT expert to implement itertools.combinations > or asian codecs. Nice comm