[pypy-dev] how to build pypy with psycopg (links / requirements)
Ronny Pfannschmidt
Ronny.Pfannschmidt at gmx.de
Thu May 31 00:24:11 CEST 2012
On 05/30/2012 11:45 PM, Gelonida N wrote:
> On 05/28/2012 05:09 PM, gelin yan wrote:
>>
>>
>> On Mon, May 28, 2012 at 11:03 PM, Костя Лопухин
>> <kostia.lopuhin at gmail.com <mailto:kostia.lopuhin at gmail.com>> wrote:
>>
>> If there is no such document, I am willing to try to make psycopg work
>> with pypy, if it is a suitable work for pypy newbie, and if someone
>> can give me some hints. Is it reasonable to start with building pypy
>> with psycopg support from here
>> https://bitbucket.org/alex_gaynor/pypy-postgresql and then try to
>> merge from upstream?
>>
>> 2012/5/27 Gelonida N <gelonida at gmail.com <mailto:gelonida at gmail.com>>:
>> > Hi,
>> >
>> > Is there any good document / tutorial showing how to build pypy
>> with the
>> > Rpython version of psycopg?
>
> . . .
>>
>>
>> Hi
>>
>> There is a branch called psycopg2-ctypes
>>
>> link: https://github.com/mvantellingen/psycopg2-ctypes
>>
>> Because pypy supports ctypes well so I guess this branch should work
>> with pypy.
>>
>>
> Yeah I can try this. I'm just afraid, that this library will not be
> efficient.
> The main intention of using pypy would be to speed up my application.
> It might still be, that the overall application will be sped up, but
> it's a pity gaining in template rendering and loosing in SQL accesses.
note that cpython api base extension are slow due to the cpython
refcounting/api emulation
it seems quite possible that a ctypes version will get faster
someone should measure
>
> I will try this as soon as I get basic django up and running on my host
> (see my other post, 'problems with getpass()'
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev
More information about the pypy-dev
mailing list