Gary Willoughby: "Why Go's design is a disservice to intelligent programmers"

Russel Winder via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Fri Mar 27 03:36:52 PDT 2015


On Fri, 2015-03-27 at 10:14 +0000, via Digitalmars-d-announce wrote:
[…]
> 
> Have you actually thought about these issues or done performance 
> tests?

The Go team certainly have, and have changed their goroutine model twice
because of it. No matter what they do in Go 0.0 →1.4, 1.5 onwards will
be different since the who system is being revised: Go implemented Go
toolchain, new GC, new runtime. I suspect Go 1.6 will be the watershed
for this, but that will likely be 2016.

The question is though what should happen in D. If Vibe.d fibres are a
single threaded system, then they are not suitable for the actor,
dataflow, CSP implementation needed in D since that must sit on a kernel
thread pool where each lightweight thread is animated by whichever work
stealing kernel thread comes along. Erlang, Go, GPars, Quasar, etc. all
have different solutions to the problem of thread pools and task
switching since the context is all important.


-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20150327/36fe2811/attachment.sig>


More information about the Digitalmars-d-announce mailing list