We should deprecate -release

Mike Shah mshah.475 at gmail.com
Wed Jul 17 20:25:31 UTC 2024


On Wednesday, 17 July 2024 at 19:21:02 UTC, Timon Gehr wrote:
> On 7/17/24 21:12, Mike Shah wrote:
>> In D Release Candidate to the public: "dmd -O -release -inline 
>> -boundscheck=0ff ..."
>
> Well, this is the one with potential buffer overrun exploits, 
> so not really fit for consumption by the public.

The description of 'fastest performance' is precise though 🙂 (and 
what you'd want for a benchmark if measuring maximum possible 
performance even when trading safety).

This is why we probably need some wiki page on best practices for 
builds -- I'll put in my work queue to make a video to explain 
compiler flags in the next few weeks then regardless to help with 
some efforts.


More information about the Digitalmars-d mailing list