Linked by Thom Holwerda on Mon 11th Feb 2013 22:59 UTC
Thread beginning with comment 552202
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
Goroutines are not really available as simple libraries in other environments, since they don't map 1:1 to OS threads.
You mean co-routines, continuations, Java Tasks, .NET tasks, C++11 futures, Win32 fibers and many other examples?
All of those do a M:N mapping of tasks to threads.
Edit: added some extra information
Edited 2013-02-12 12:50 UTC




Member since:
2008-12-26
Goroutines are not really available as simple libraries in other environments, since they don't map 1:1 to OS threads.
Python equivalent would probably be "Greenlets".