On Friday, 29 June 2018 at 11:04:30 UTC, rikki cattermole wrote:
It greatly simplifies development against existing C/C++ codebases.

How so? By telling people you can express C++:

void cpy(char *dst, const char *src, size_t size)
{
    for (size_t i; i < size; ++i)
        dst[i] = src[i];
}

elegantly and safe like this in D:

void cpy(void[] dst, void[] src) { dst[] = src[]; }

unless they are using betterC (undefined reference to '_d_arraycopy')? Just to highlight one lost language feature.

Reply via email to