supporting new libraries

Hello, I would like to know how hard it is to support new libraries, for example (probably far from the simplest, but would certainly be cool to have - kind) pygtk (+pygobject, etc...) Could someone help in finding what would be needed to get that one(s) working ? Maybe with an approximate estimation of the difficulty of each step, or what kind of required knowledge to have. In case it would be too early to attempt such project, a slight explanation of what are the blocking points. That kind of information could (should ?) be added to wiki or FAQ, as a honey-pot for new contributors... The help could simply be a pointer to the obvious documentation that I managed to miss user@host:~/repo/svn/pypy-trunk/pypy/translator/goal$ ./pypy-c -c 'import pygtk' Traceback (most recent call last): File "?", line 33, in run_toplevel File "?", line 349, in run_it File "<string>", line 1, in <module> ImportError: No module named pygtk -- Vincent Legoll

On Wed, 2009-07-29 at 16:38 +0200, Vincent Legoll wrote:
I think that pygtk/pygobject are generated mostly automatically through glib introspect scripts. If so, it would be on the easy side of a hard problem.
I think pypy/doc/rffi.txt is what you are looking for, but I could be completely off base since I have not done anything like this myself as of yet.
Terrence

Hi Vincent, On Wed, Jul 29, 2009 at 05:59:13PM -0700, Terrence Cole wrote:
That's an entry point, yes. We have an "internal sprint" in August where we will meet each other (as opposed to now where everybody is on its own side and on vacation anyway). We could, and indeed should, discuss the topic at the sprint a bit more. A bientot, Armin.

On Fri, Jul 31, 2009 at 2:04 PM, Armin Rigo<arigo@tunes.org> wrote:
I've read the rffi.txt but it's not sufficient for me to understand what would be needed to start working on this. I'll try to look harder though. I'm curious, were would that August sprint take place ? -- Vincent Legoll

Hi Vincent, On Fri, Jul 31, 2009 at 02:14:17PM +0200, Vincent Legoll wrote:
There is also a FAQ entry "How do I write extension modules for PyPy?".
I'm curious, were would that August sprint take place ?
It's taking place in Gothenburg, Sweden. It's an internal sprint on the topic of the JIT, so even if I guess that we are not strictly closed to everybody else, it's not the best place to get lots of support on a different topic like writing extension modules. (We might discuss the current status of the topic as a one-hour "extra" though.) We have vague plans for a public sprint around october in Düsseldorf, Germany, which would probably be a better place to be in :-) A bientot, Armin.

On Wed, 2009-07-29 at 16:38 +0200, Vincent Legoll wrote:
I think that pygtk/pygobject are generated mostly automatically through glib introspect scripts. If so, it would be on the easy side of a hard problem.
I think pypy/doc/rffi.txt is what you are looking for, but I could be completely off base since I have not done anything like this myself as of yet.
Terrence

Hi Vincent, On Wed, Jul 29, 2009 at 05:59:13PM -0700, Terrence Cole wrote:
That's an entry point, yes. We have an "internal sprint" in August where we will meet each other (as opposed to now where everybody is on its own side and on vacation anyway). We could, and indeed should, discuss the topic at the sprint a bit more. A bientot, Armin.

On Fri, Jul 31, 2009 at 2:04 PM, Armin Rigo<arigo@tunes.org> wrote:
I've read the rffi.txt but it's not sufficient for me to understand what would be needed to start working on this. I'll try to look harder though. I'm curious, were would that August sprint take place ? -- Vincent Legoll

Hi Vincent, On Fri, Jul 31, 2009 at 02:14:17PM +0200, Vincent Legoll wrote:
There is also a FAQ entry "How do I write extension modules for PyPy?".
I'm curious, were would that August sprint take place ?
It's taking place in Gothenburg, Sweden. It's an internal sprint on the topic of the JIT, so even if I guess that we are not strictly closed to everybody else, it's not the best place to get lots of support on a different topic like writing extension modules. (We might discuss the current status of the topic as a one-hour "extra" though.) We have vague plans for a public sprint around october in Düsseldorf, Germany, which would probably be a better place to be in :-) A bientot, Armin.
participants (4)
-
Armin Rigo
-
Terrence Cole
-
Thomas Heller
-
Vincent Legoll