D as a Better C

jmh530 via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Aug 24 15:15:33 PDT 2017


On Thursday, 24 August 2017 at 18:56:25 UTC, Walter Bright wrote:
>
> There is a PR to make it only on demand,
>
>   https://github.com/dlang/dmd/pull/6561
>
> but it is mired in problems that are not in the D test suite 
> and for which no test cases exist.

C++ compilers also have a switch, like -fno-rtti, for 
de-activating RTTI. BetterC seems like a combination of several 
pieces of underlying functionality. There is not yet any ability 
to have any kind of granularity. For instance,
-betterC=[flag]
where [flag] might be something like "off-dassert" which calls 
the C assert function instead of the D one.


More information about the Digitalmars-d-announce mailing list