[Stackless] Google's new Go programming language

Richard Tew richard.m.tew at gmail.com
Fri Nov 13 19:40:01 CET 2009


On Fri, Nov 13, 2009 at 4:06 AM, Henning Diedrich
<hd at authentic-internet.de> wrote:
>
> Richard Tew wrote:
>
> 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.
>
>
> Well, it IS pretty impressing. Just the other way round. Was it really the
> equivalent to the Go test?

It was slightly more complicated than the go test, which only sent one
value through.  The go test was in the tech talk presentation, I can't
find a text version of it to link to unfortunately.

Cheers,
Richard.




More information about the Stackless mailing list