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.

Reply via email to