On Sunday, 30 July 2017 at 13:35:18 UTC, Poyeyo wrote:
Reading this article:
http://www.evanmiller.org/why-im-learning-perl-6.html
makes me curious about the state of Dlang's M:N thread
multiplexing.
Quoting the article:
"if you want M:N thread multiplexing your options today are
precisely Erlang, Go, .NET, and Perl 6."
Is it possible to add D to this list of languages mentioned in
that article?
Whenever I asked about CSP in D I got the answer to consider
vibe.d. D has fibers. In addition to have something like green
threads, it would need a mechanism that a fiber that is going to
be blocked when taking from an empty channel is detached from
that channel and assigned to one that is not empty.
Not sure I agree that .NET has m:n threads in sense of CSP/green
threads. About Perl 6 I don't know. Java has it as well through
Quasar (http://docs.paralleluniverse.co/quasar/) and the JVM in
general through Coroutines in Kotlin
(https://kotlinlang.org/docs/reference/coroutines.html)