Re: Oh, my GoD! Goroutines on D

2016-03-30 Thread Casey Sybrandy via Digitalmars-d
On Wednesday, 30 March 2016 at 15:50:47 UTC, Jin wrote: This is java bloatware. :-( I've never used the library so I can't comment on that, but the actual data structure/algorithm is really pretty simple. The core components are atomic counters and a static array. I think it would be a goo

Re: Oh, my GoD! Goroutines on D

2016-03-30 Thread Casey Sybrandy via Digitalmars-d
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/disr

Re: Oh, my GoD! Goroutines on D

2016-03-30 Thread Casey Sybrandy via Digitalmars-d
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

Re: IDEA: Text search engine tailored to a specific schema

2015-04-17 Thread Casey Sybrandy via Digitalmars-d
I was thinking something a bit more specific without having to manually generate the structs. For example, let's say I have a JSON document that has a number of fields in it. Some are numbers, some are strings, etc. What I'm thinking either a) based of the JSON structure or b) based on a sc