A few notes on choosing between Go and D for a quick project

Ziad Hatahet via Digitalmars-d digitalmars-d at puremagic.com
Fri Mar 13 17:33:57 PDT 2015


On Fri, Mar 13, 2015 at 6:45 AM, Russel Winder via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> The removal of shared memory multi-threading in favour of using
> processes and channels should never be underestimated as a Really Good
> Thing™ that other native code languages (*) have failed to do anything
> about. Thus Go wins, others lose.
>

Except that Go does not really remove shared memory multithreading; it is
still possible to get data races (which is why they have a race detector).
They provide channels, but nothing is preventing races other than
convention. On the other hand, Rust (a native code language) offers a much
superior solution, with compile-time enforcement of data sharing.

--
Ziad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150313/a90164b9/attachment.html>


More information about the Digitalmars-d mailing list