Discussion Thread: DIP 1028--Make @safe the Default--Final Review
12345swordy
alexanderheistermann at gmail.com
Mon Apr 6 19:33:11 UTC 2020
On Monday, 6 April 2020 at 19:12:18 UTC, H. S. Teoh wrote:
> On Mon, Apr 06, 2020 at 06:45:14PM +0000, Joseph Rushton
> Wakeling via Digitalmars-d wrote: [...]
>> Honestly, I think we'd be far more in need of a Scott Meyers
>> to explain extern C functions being treated as safe by default
>> (and how to avoid unintended bugs caused by this) than by the
>> straightforward fact (well accepted e.g. by Rust users) that
>> extern functions cannot be assumed safe, because, well, how do
>> you prove it?
>
> I can see it already. DIP 1028 gets merged, and the following
> DConf Scott Meyers comes to give a talk about how @safe in D is
> full of holes and doesn't fulfill its promises.
>
>
> T
Better yet, email Scott Meyers and had him explain to Walter why
extern C functions being mark as safe by default is a terrible
idea.
-Alex
More information about the Digitalmars-d
mailing list