The future of concurrent programming

David B. Held dheld at codelogicconsulting.com
Wed May 30 22:13:49 PDT 2007


Daniel Keep wrote:
> 
> David B. Held wrote:
>> ...
>> Fibers are nice when you don't need pre-emption, but having to think
>> about pre-emption makes the parallelism intrude on your problem-solving,
>> which is what we would like to avoid.
> 
> Have you seen Stackless Python?  That uses cooperative multithreading,
> but I've never had to write an explicit yield.
> [...]

Well, cooperative multithreading is different from fibers, because 
fibers are actually coroutines, so yield is almost always explicit.  And 
yes, I think we need all the parallel libraries we can get, so knock 
yourself out. ;)

Dave



More information about the Digitalmars-d mailing list