Simen kjaeraas wrote:
bearophile <[email protected]> wrote:
One of yours fixed:
- If it works in C, it works (almost) the same or not at all in D.
Mind giving examples to this one? I thought this was a big no-no.
I'm curious what bearophile is referring to, too. We've worked hard to ensure
that C code either produces the same result (as defined behavior in C would) or
fails to compile.
And I'd add to that that the performance of C code written in D should match or
exceed performance of the same code compiled with a C compiler.
I'd put this under the heading of "D As A Better C".