[Stackless] Google's new Go programming language

Guy Hulbert gwhulbert at eol.ca
Tue Nov 17 21:02:51 CET 2009


On Tue, 2009-17-11 at 19:41 +0000, Kristján Valur Jónsson wrote:
> First off, I don't understand what select does in go, but I assume
> some conceptual similarity to unix select()

Here is the documentation (link from thread below):
http://golang.org/doc/go_spec.html#Select_statements

> 
> One thing I'd like to point out is that the select() model of event
> handling is inherently non-scalable. Managing it is an O(N) process
> each time you want to send or handle an event. 

According to this thread, it can be done in O(1):
http://groups.google.com/group/golang-nuts/browse_thread/thread/3ba2157b3259ee54/410a3c8c187b1bf7?lnk=raot

-- 
--gh






More information about the Stackless mailing list