<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Folks:</span></div>
<div><br>
<span></span></div>
<div><span>Silly error. I didn't notice that targetdemo.py was updated: the API changed! Using the latest version as an example, I got my example to work. Yeah!<br>
</span></div>
<div><br>
<span></span></div>
<div><span>Thanks to everyone for the help!</span></div>
<div><br>
<span></span></div>
<div><span>Cheers,</span></div>
<div><span>Andrew<br></span></div>
<div><br></div><div><br></div> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight: bold;">From:</span></b> Armin Rigo <arigo@tunes.org><br> <b><span style="font-weight: bold;">To:</span></b> Andrew Francis <andrewfr_ice@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> Amaury Forgeot d'Arc <amauryfa@gmail.com>; "pypy-dev@codespeak.net" <pypy-dev@codespeak.net> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, January 25, 2012 2:06 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Unknown Operation Re: [pypy-dev] What Causes An Ambiguous low-level helper specialization Error?<br> </font> </div> <br>
Hi Andrew,<br><br>On Wed, Jan 25, 2012 at 19:56, Andrew Francis <<a ymailto="mailto:andrewfr_ice@yahoo.com" href="mailto:andrewfr_ice@yahoo.com">andrewfr_ice@yahoo.com</a>> wrote:<br>> I can't wait to see this code compile! Bank accounts are the "hello world"<br>> of transactional programming!<br><br>In case you want to avoid having to hack at RPython: by now, you can<br>also compile the full PyPy with transactions enabled. You just get a<br>PyPy with no GC at all (so it cannot run for more than a few seconds<br>before running out of memory). You then get a sane interface from the<br>built-in module 'transaction', and don't have to write any RPython<br>code.<br><br>I use the following command line (it's very fast and doesn't require<br>too much RAM, because of no GC):<br><br>./translate.py -O1 --gc=none --stm <a target="_blank" href="http://targetpypystandalone.py">targetpypystandalone.py</a><br>--no-allworkingmodules
--withmod-transaction<br><br><br>A bientôt,<br><br>Armin.<br><br><br> </div> </div> </div></body></html>