Andrei's list of barriers to D adoption

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 7 00:40:18 PDT 2016


On Tuesday, 7 June 2016 at 07:17:04 UTC, Walter Bright wrote:
> Granted, one can certainly have other reasons to prefer C++. 
> But memory safety isn't one of them.

That's true, but memory safety isn't a big problem in C++ if one 
sticks to what one can do in @safe code. Using gsl::span you get 
the same stuff as in D for slicing etc.

In my experience memory issues in C++ often comes from casting 
through pointers  (which often is necessary for performance 
reasons) and having typos in pointer-offsets.



More information about the Digitalmars-d mailing list