Oh, my GoD! Goroutines on D
Casey Sybrandy via Digitalmars-d
digitalmars-d at puremagic.com
Wed Mar 30 08:22:26 PDT 2016
On Wednesday, 30 March 2016 at 14:28:50 UTC, Casey Sybrandy wrote:
> On Sunday, 27 March 2016 at 18:17:55 UTC, Jin wrote:
>> DUB module: http://code.dlang.org/packages/jin-go
>> GIT repo: https://github.com/nin-jin/go.d
> Have you considered using a Disrupter
> (http://lmax-exchange.github.io/disruptor/) for the channels?
> Not sure how it compares to what you're using from Vibe.d, but
> it's not a hard data structure to implement and, IIRC, it
> allows for multiple producers and consumers.
Oh, and yes, I know that it would have to be rewritten in D
unless there's a C version somewhere. I actually did it once and
it wasn't too bad. I don't think I have a copy anymore, but if I
do find it, I can put it up somewhere.
More information about the Digitalmars-d