[Stackless] Google's new Go programming language

Richard Tew richard.m.tew at gmail.com
Thu Nov 12 03:11:07 CET 2009


On Thu, Nov 12, 2009 at 2:56 PM, Andrew Dalke <dalke at dalkescientific.com> wrote:
> On Nov 11, 2009, at 9:35 PM, Richard Tew wrote:
>>
>> They have an nice example where they chain 100000 microthreads each
>> wrapping the same function that increases the value of a passed
>> argument by one, with channels inbetween.  Pumping a value through the
>> chain takes 1.5 seconds.  I can't imagine that Stackless will be
>> anything close to that, given the difference between scripting and
>> compiled code.
>
> Did I mess up in my benchmark? I got about 0.07 seconds to go through
> 100,000 microthreads.

Interesting.  I hadn't gone to the effort of writing it yet.  I
expected the difference between a compiled language and a scripting
language to be more significant.

Thanks Andrew.

Richard.




More information about the Stackless mailing list