[pypy-dev] STM on CPython

2011-08-26 Thread Armin Rigo
Hi, A follow-up to the blog post about Software Transactional Memory (STM) at http://morepypy.blogspot.com/ . First, there is a growing number of papers out there that seems to give solid evidence that STM is "better" than lock-based systems, for various definitions of "better". In fact Greg Wil

Re: [pypy-dev] [pypy-commit] pypy reflex-support: Remove elidable_promote that made the translation choke.

2011-08-26 Thread wlavrijsen
Hi, On Thu, 25 Aug 2011, wlavrij...@lbl.gov wrote: for functions, I have the interp_w in the calling function, so I'm guessing that the problem is with the promote, not with the elidability. I'll change that to be the same as for functions, which should then work. so yes, that was the ticket.

Re: [pypy-dev] STM on CPython

2011-08-26 Thread exarkun
On 07:09 am, ar...@tunes.org wrote: Hi, A follow-up to the blog post about Software Transactional Memory (STM) at http://morepypy.blogspot.com/ . [snio[ So, all this to say: 8 years later, I implemented that on CPython: https://bitbucket.org/arigo/cpython-withatomic/overview (on the 2.7 branch

Re: [pypy-dev] status of scheme implementation

2011-08-26 Thread Juergen Boemmels
Hi Armin, >Hi Juergen, > >On Sun, Aug 21, 2011 at 3:15 PM, Juergen Boemmels wrote: >> I just found the scheme implementation >> https://bitbucket.org/pypy/lang-scheme/ >> but there is no history besides the initial import. >> >> Is this maintained? I.e. is it usful to send patches for improving t

Re: [pypy-dev] status of scheme implementation

2011-08-26 Thread Carl Friedrich Bolz
On 08/26/2011 07:17 PM, Juergen Boemmels wrote: On Sun, Aug 21, 2011 at 3:15 PM, Juergen Boemmels wrote: I just found the scheme implementation https://bitbucket.org/pypy/lang-scheme/ but there is no history besides the initial import. Is this maintained? I.e. is it usful to send patches for i

Re: [pypy-dev] STM on CPython

2011-08-26 Thread Laura Creighton
Armin wrote: >So, all this to say: 8 years later, I implemented that on CPython: >https://bitbucket.org/arigo/cpython-withatomic/overview (on the 2.7 >branch). It is sadly a fork of CPython instead of a C extension >module because it needs to access and change a few things in ceval.c. >The total

Re: [pypy-dev] [pypy-commit] pypy faster-nested-scopes: fix tests. no clue where the extra arraylen comes from?

2011-08-26 Thread Hakan Ardo
If a getarrayitem is moved into the short_preamble we also need guards on the array len as it might be out of bound at the end of some future bridge. After jit-short_from_state the jump of the loop is produced by inlining the short preamble there (that approach does not crash if the optimizers intr