-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Not really a question, more of a comment. Your library reminds me of something a colleague of mine did in grad school in the 90's. He used operator overloading to define worker/producer patterns for parallelism in C++.
As this was quite some time ago, the details on the web are somewhat sketchy. A hard to read paper from Dr Dobbs here:
https://jacobfilipp.com/DrDobbs/articles/DDJ/1998/9808/9808j/9808j.htm
And this is behind the IEEE paywall, but if you click on Figure 1, you can see the overloaded expressions in C++ and their corresponding worker/producer/fan-in/fan-out patterns:
Anyhow, seeing as you're working in a similar space, I thought you might find this interesting and maybe some ideas worth stealing. Keep up the good work, you've got an interesting library here.
(BTW, I'm the editor of the PyCoders newsletter, I'll be adding you guys to our "projects" section in the next week or two)