On Sunday, 19 June 2016 at 05:37:01 UTC, Walter Bright wrote:
On 6/18/2016 10:22 PM, Suliman wrote:
8. create a greenthreads module that works like Goroutines
But we already have fibers, I thought that they are same with
Goroutines
Fibers are thread local. Goroutines are distributed among
fibers and threads, and can switch from one thread to another.
Which is inherently suboptimal and is a part of Go marketing
bullshit not worth spending time on. It also requires heavy
runtime modifications (because TLS) unless one wants to totally
screw plain fibers.
Proper action item instead would be providing standard event loop
and task system in Phobos.