Re: [pypy-dev] Any publications regarding PyPy / trace-based JIT compiler?

2012-07-03 Thread wlavrijsen
Hi Michael, I am in the process of writing a paper that will target some AI conference, and I would like to ask if there are any relevant publications of yours or in general that showcase the possible advantages of trace-based JIT compilation over method-based JIT compilation or static compilati

Re: [pypy-dev] cpyext performance

2012-07-03 Thread Stefan Behnel
Amaury Forgeot d'Arc, 03.07.2012 18:26: > No optimization of any kind have been done in cpyext (it's difficult enough > to get it right...) > A freelist would be a nice thing, but there would still be the cost of > attaching the PyObject to the pypy w_object. > > Maybe we should use a weak diction

[pypy-dev] Any publications regarding PyPy / trace-based JIT compiler?

2012-07-03 Thread Michael Sioutis
Dear PyPy team, I am in the process of writing a paper that will target some AI conference, and I would like to ask if there are any relevant publications of yours or in general that showcase the possible advantages of trace-based JIT compilation over method-based JIT compilation or static compila

Re: [pypy-dev] Building the jvm-improvements branch

2012-07-03 Thread Michal Bendowski
Hello Jez, First of all – I should have looked into this problem a long time ago and still haven't found the time. I will be away until next week, but then we can work this out together (unless you fix it before that time). As for your setup, I remember having problems with --opt=0 and so I'm usi

Re: [pypy-dev] Hello! and Video Tutorials

2012-07-03 Thread Amaury Forgeot d'Arc
2012/7/3 Paulo Köch > On Tue, Jul 3, 2012 at 7:08 PM, Amaury Forgeot d'Arc > wrote: > > Actually two days ago I created a pypy account and uploaded the videos: > > https://www.youtube.com/morepypy > > (and yes, there is a already a pypy user) > > Since I happen to work for YouTube, I thought I h

Re: [pypy-dev] Hello! and Video Tutorials

2012-07-03 Thread Paulo Köch
On Tue, Jul 3, 2012 at 7:08 PM, Amaury Forgeot d'Arc wrote: > Actually two days ago I created a pypy account and uploaded the videos: > https://www.youtube.com/morepypy > (and yes, there is a already a pypy user) > Since I happen to work for YouTube, I thought I had to do it... Alright! :D Thank

Re: [pypy-dev] Hello! and Video Tutorials

2012-07-03 Thread Amaury Forgeot d'Arc
2012/7/3 Paulo Köch > On Sun, Jul 1, 2012 at 3:40 PM, Paulo Köch wrote: > > > > YouTube now requires me to create a Google account to create a YouTube > > user. We also don't have one of those, right? > > Bump. > > If I don't get stopped in the next two days, I'll assume we don't have > a Google

Re: [pypy-dev] cpyext performance

2012-07-03 Thread Stefan Behnel
Amaury Forgeot d'Arc, 03.07.2012 18:26: > 2012/7/3 Stefan Behnel >> BTW, are PyObject structures currently cached in a free-list somewhere? >> That would be really helpful for the iteration performance. > > No optimization of any kind have been done in cpyext (it's difficult enough > to get it rig

Re: [pypy-dev] Hello! and Video Tutorials

2012-07-03 Thread Paulo Köch
On Sun, Jul 1, 2012 at 3:40 PM, Paulo Köch wrote: > > YouTube now requires me to create a Google account to create a YouTube > user. We also don't have one of those, right? Bump. If I don't get stopped in the next two days, I'll assume we don't have a Google Account for PyPy yet and proceed to c

Re: [pypy-dev] cpyext performance

2012-07-03 Thread Amaury Forgeot d'Arc
2012/7/3 Stefan Behnel > > Don't forget that cpyext reference counts are quite different from > CPython: > > PySequence_GetItem() needs to *create* a PyObject structure, and the > > returned object has a refcount of 1. > > Then Py_DECREF() will really *deallocate* the PyObject structure... > > Su

Re: [pypy-dev] cpyext performance

2012-07-03 Thread Stefan Behnel
Amaury Forgeot d'Arc, 03.07.2012 14:55: > 2012/7/3 Stefan Behnel >> I've been working with one of the modules in the Python benchmark suite, >> namely nbody, and tried to make it run a little faster when compiled with >> Cython in PyPy. I managed to get a massive speed-up by avoiding some >> borrow

Re: [pypy-dev] cpyext performance

2012-07-03 Thread Amaury Forgeot d'Arc
Hi, 2012/7/3 Stefan Behnel > I've been working with one of the modules in the Python benchmark suite, > namely nbody, and tried to make it run a little faster when compiled with > Cython in PyPy. I managed to get a massive speed-up by avoiding some > borrowed references during list iteration and

[pypy-dev] cpyext performance

2012-07-03 Thread Stefan Behnel
Hi, I've been working with one of the modules in the Python benchmark suite, namely nbody, and tried to make it run a little faster when compiled with Cython in PyPy. I managed to get a massive speed-up by avoiding some borrowed references during list iteration and using PySequence_GetItem() inste

Re: [pypy-dev] pypy ML aliases at codespeak to be deleted

2012-07-03 Thread Maciej Fijalkowski
On Tue, Jul 3, 2012 at 8:59 AM, holger krekel wrote: > Hi all, > > in the future you must use pypy-*@python.org addresses, not @codespeak.net > anymore. > > It's been a while since Ralf Hildebrandt and I migrated the pypy > mailing lists to @python.org. The old addresses @codespeak.net forward >