<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi again, Andrew,<br>
<br>
I'm going to fix stackless.py on pypy.<br>
<br>
Can you maybe try your version if it already behaves correctly<br>
when run on PyPy? Or does it also build upon the slightly<br>
wrong version?<br>
<br>
thanks & cheers -- Chris<br>
<br>
On 7/6/12 4:37 PM, Andrew Francis wrote:<br>
</div>
<blockquote
cite="mid:1341585470.21199.YahooMailNeo@web140702.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:times
new roman, new york, times, serif;font-size:12pt">
<div>Hi Christian:</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; ">Message: 1<br>
Date: Thu, 05 Jul 2012 23:18:34 +0200<br>
From: Christian Tismer <<a moz-do-not-send="true"
ymailto="mailto:tismer@stackless.com"
href="mailto:tismer@stackless.com">tismer@stackless.com</a>><br>
To: The Stackless Python Mailing List <<a
moz-do-not-send="true"
ymailto="mailto:stackless@stackless.com"
href="mailto:stackless@stackless.com">stackless@stackless.com</a>><br>
Cc: Herv? Coatanhay <<a moz-do-not-send="true"
ymailto="mailto:herve.coatanhay@gmail.com"
href="mailto:herve.coatanhay@gmail.com">herve.coatanhay@gmail.com</a>><br>
Subject: Re: [Stackless] Tasklet cleanup?<br>
Message-ID: <<a moz-do-not-send="true"
ymailto="mailto:4FF604AA.3050409@stackless.com"
href="mailto:4FF604AA.3050409@stackless.com">4FF604AA.3050409@stackless.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1";
Format="flowed"<br>
<br>
>Just as a note:<br>
<br>
>the PyPy stackless module was not really maintained in
years, and I<br>
>remember I had a more compliant version prepared, but
lost interest<br>
>after the Jit became unsuitable for the stackless
version.<br>
<br>
>Now it's time to finalize and correct this, because a
Jit-enabled<br>
>stackless is in reach, again.<br>
<br>
>Will try to get to it, soon.<br>
<br>
</div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361">A note. The last time I
looked, the version of the PyPy Stackless</div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361">module that took
advantage of (single-shot) continuations. However unlike</div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361">the older version, it
took out greenlet support. I rather liked the way</div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361">the code could execute
over PyPy's coroutines or greenlets. </div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361"><br>
</div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361">As a sidenote. Myself I
have two broad versions of stackless.py. One</div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361">is in the Stackless
repository that supports select(). I have a variation where</div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361">I experiment with
improving Pike's select algorithm - I think it is too </div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361">conservative.</div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361"><br>
</div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361">The second version that
I haven't released since there is even less interest than</div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361">that the version with
select, is my initial experiments with join patterns. Since </div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361">in the literature, the
join implementation (and channel implements) also uses STM </div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361">and other lock-free
techniques, I probably resume experimentation with
CPython-atomic</div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361">as well as improve the
API.</div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361"><br>
</div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361">Cheers,</div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"
class="yui_3_2_0_18_134158486660361">Andrew</div>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Christian Tismer :^) <a class="moz-txt-link-rfc2396E" href="mailto:tismer@stackless.com"><mailto:tismer@stackless.com></a>
tismerysoft GmbH : Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121 : *Starship* <a class="moz-txt-link-freetext" href="http://starship.python.net/">http://starship.python.net/</a>
14482 Potsdam : PGP key -> <a class="moz-txt-link-freetext" href="http://pgp.uni-mainz.de">http://pgp.uni-mainz.de</a>
work +49 173 24 18 776 mobile +49 173 24 18 776 fax n.a.
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? <a class="moz-txt-link-freetext" href="http://www.stackless.com/">http://www.stackless.com/</a></pre>
</body>
</html>