A very interesting slide deck comparing sync and async IO

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Thu Mar 3 12:31:51 PST 2016


On Thursday, 3 March 2016 at 17:31:59 UTC, Andrei Alexandrescu 
wrote:
> https://www.mailinator.com/tymaPaulMultithreaded.pdf
>
> Andrei

Not an expert on the subject, but FWIW:

1. This is from 2008
2. Seems to be highly specific to Java
3. The first benchmark essentially measures the overhead of fiber 
context switching and nothing else
4. If I tried to write DFeed using this model, it would have been 
a complete trainwreck (there is too much global state and 
interaction between components to reason about using locks).



More information about the Digitalmars-d mailing list