[Stackless] Google's new Go programming language

Richard Tew richard.m.tew at gmail.com
Wed Nov 11 20:39:33 CET 2009


Hi,

You may have seen Google's new programming language, Go
(www.golang.com).  Like Stackless Python, it is influenced by Limbo
and contains microthread and channel like primitives.  In fact, where
Stackless adds these elements over Python in an extension
library/framework manner, in Go they are supported by types and
keywords as a natural part of the language.

Go is stackless where Stackless is not.  Its goroutines use allocated
stacks (starting at 4k in size) and can continue running on different
threads where Stackless tasklets cannot.  In fact, when a goroutine
blocks on a system call, the other goroutines in its scheduler are
migrated to another thread.

I've written up a short comparison which you can read here if you want
to see the different ways to do the similar operations:

http://posted-stuff.blogspot.com/2009/11/comparing-go-and-stackless-python.html

Cheers,
Richard.




More information about the Stackless mailing list