Discussion Thread: DIP 1028--Make @safe the Default--Final Review

Walter Bright newshound2 at digitalmars.com
Sat Apr 4 06:58:36 UTC 2020


On 4/3/2020 2:42 PM, Joseph Rushton Wakeling wrote:
> Now I'm not suggesting that D should do it because Rust does ;-) But their 
> reasoning seems sound, and I don't see an obvious reason for assuming @safe-ty 
> of functions that the D compiler cannot verify.

In both Rust and D the reliance is on the programmer when calling functions in 
another language. D gives you the option to allow the programmer to treat them 
as safe if he wants to.


More information about the Digitalmars-d mailing list