Offset: Goroutines ported to Python
docs.google.com
Offset: Goroutines ported to Python
1–10 of 14 posts
Re: Offset: Goroutines ported to Python
#2Re: Offset: Goroutines ported to Python
#3I can dream.
Re: Offset: Goroutines ported to Python
#4Mildly related - it's been my opinion that Go's M:N threading system should be considered a workaround for a missing OS feature: the ability to manage and schedule native threads in userspace, without incurring a context switch. There are many reasons why goroutines would be better implemented in cooperation with the kernel - better debugger support, thread local storage, probably less scheduler overhead - but an imp…
Re: Offset: Goroutines ported to Python
#5Re: Offset: Goroutines ported to Python
#6Mildly related - it's been my opinion that Go's M:N threading system should be considered a workaround for a missing OS feature: the ability to manage and schedule native threads in userspace, without incurring a context switch. There are many reasons why goroutines would be better implemented in cooperation with the kernel - better debugger support, thread local storage, probably less scheduler overhead - but an imp…
Not really a work-around, even with great native thread support and tooling as you dream of (and don't get me wrong, I am all for it), ultra-light "goroutines" or "erlang processes" fit a different niche, you are never going to spin up 3+ million OS threads, you absolutely can (and do) in the ultra-light process space.
Re: Offset: Goroutines ported to Python
#7Re: Offset: Goroutines ported to Python
#8Anybody have this content in a form that doesn't require a logged in Google account?
https://speakerdeck.com/benoitc/experimentation-in-porting-t...
Re: Offset: Goroutines ported to Python
#9Is this specifically for CPython? I thought Stackless Python already provided something similar barring Go-specific things like channels.
Re: Offset: Goroutines ported to Python
#10Anybody have this content in a form that doesn't require a logged in Google account?