That's very neat.  You do realize, though, that concurrency with stackless isn't really concurrent, right?  Your intro talks about how concurrency is necessary to take advantage of more processors, but stackless doesn't help with that.   You never really have two things running at once under stackless -- they just take turns under the direction of the scheduler.   Now it may be possible in the future to write a VM that automatically parallelizes stackless code so that it does take advantage of multiple processors, and that would probably be much easier to do than it would be with standard sequential code, but for the time being the benefit of stackless is just the programming paradigm it enables.  You can program as if you had an unlimited number of threads/processors, but in fact you are using only one (or maybe two if the garbage collector is in a separate threaded).
<br><br>Otherwise, great looking tutorial.<br><br>--Bill&nbsp; -- just lurking<br><br><div><span class="gmail_quote">On 6/27/06, <b class="gmail_sendername">Grant Olson</b> &lt;<a href="mailto:olsongt@verizon.net">olsongt@verizon.net
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I've been goofing around with stackless for a few months now.&nbsp;&nbsp;I thought it
<br>was a shame that all of the tutorials out there were for older outdated<br>uthread versions of the stackless code.&nbsp;&nbsp;I decided to take some notes, and<br>try to write a more up-to-date tutorial.<br><br>IT WAS THE BIGGEST MISTAKE OF MY LIFE!
<br><br>Well maybe not, but it has been much more time consuming than I had<br>expected.&nbsp;&nbsp;I'm finally to the point where I have a rough draft that should<br>be suitable for consumption by other software developers.<br><br>
The rough draft is available here:<br><br><a href="http://members.verizon.net/olsongt/stackless/">http://members.verizon.net/olsongt/stackless/</a><br><br>Questions, comments, and suggestions are appreciated,<br><br>Grant
<br><br><br></blockquote></div><br><br>