We should deprecate -release
ryuukk_
ryuukk.dev at gmail.com
Sun Jul 14 20:45:10 UTC 2024
On Sunday, 14 July 2024 at 19:29:09 UTC, Dukc wrote:
> 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.
`-release-safe` `-release-fast`
More information about the Digitalmars-d
mailing list