Does D programming language have work steal queue?

mw mingwu at gmail.com
Mon May 23 23:13:58 UTC 2022


On Monday, 23 May 2022 at 23:07:00 UTC, zoujiaqing wrote:
> On Sunday, 22 May 2022 at 23:34:19 UTC, mw wrote:
>> On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:
>>> Does D language have task steal queue?
>>> The requirements are high-performance, lock-free, and 
>>> thread-safe.
>>
>> I have a C's liblfds D wrapper:
>>
>> https://github.com/mw66/liblfdsd
>>
>> right now only bmm and bss queue are wrapped.
>>
>> It's not in dub yet, but I have been using it for a while, 
>> feel free to give it a try, or even send PRs :-)


BTW, some very simple performance comparison with other D queues 
are here:

https://github.com/mw66/liblfdsd/tree/master/comparison


More information about the Digitalmars-d-learn mailing list