[dmd-concurrency] Data Parallelism
Michel Fortin
michel.fortin at michelf.com
Mon Jan 25 12:26:26 PST 2010
Le 2010-01-25 à 9:24, David Simcha a écrit :
> I realize it's probably a little late to be jumping into the concurrency game. I've been mostly staying on the sidelines, reading this list here and there, since the only multithreading I understand well or personally have any use for is data parallelism/use-every-core-I-have. However, from reading the TDPL drafts I am getting concerned that D is moving towards message passing as the "one true way", and if this doesn't do what you need you're left to cowboy everything anyhow. I've been slowly hacking away, improving my Parallelfuture library (which currently does basically cowboy everything), and am wondering if some of the main architects (Sean, Andrei) could take a look at it and see if some relatively small changes could be made to either the library or the language to make this library reasonably safe so it could be treated as a first-class citizen.
One missing part I see by looking at your examples would be to have shared delegate that works correctly and an opApply accepting shared delegates. I certainly hope we can get the semantics of shared delegates good enough for this.
--
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/
More information about the dmd-concurrency
mailing list