On Wednesday, 6 November 2013 at 10:10:06 UTC, Bienlein wrote:
Which are also available in many JVM implementations and in
.NET as tasks and asynch.
Although, it is nice PR for HN guys that ignore what these
platforms offer.
I'm sure about that. When you block a thread in Java it is no
longer available for the thread pool and increasing the size of
it cannot be done at will, because creating new threads is not
lightweigt on the JVM.
Ah, unhappily Groovy CSP also can't do this: "Some
implementations (e.g. GoLang) can also detach the thread from the
CSP process when blocked on a channel." Source:
http://www.gpars.org/1.0.0/guide/guide/GroovyCSP.html So it's
basically non-blocking IO.
-- Bienlein