We should deprecate -release
Dukc
ajieskola at gmail.com
Sun Jul 14 19:29:09 UTC 2024
Walter Bright kirjoitti 13.7.2024 klo 8.35:
> The -release switch means "make the fastest code". Make it easy for the
> journalists to do the right thing.
>
> Nobody new to D will know to use -O -boundscheck-safeonly -inline.
> They'll just get a "D is slow" result and move on.
Maybe we should have two release switches then. `-release-safe` and
`-release-nochecks`, listed side-by-side in the docs. Then a reviewer
(or an ordinary user) can hardly notice there is one without noticing
the other.
More information about the Digitalmars-d
mailing list