Phobos Action Items

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Sat Jun 18 23:19:34 PDT 2016


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.


More information about the Digitalmars-d mailing list