D not considered memory safe

Timon Gehr timon.gehr at gmx.ch
Thu Jul 25 19:42:39 UTC 2024


On 7/25/24 20:14, Walter Bright wrote:
> I've been told anecdotally that Rust developers often just slap 'unsafe' 
> everywhere and get their project working. Does that mean Rust is a 
> safewashed fraud of a language?
> ...

To the extent that this is happening, it is. Absolutely yes if the core 
team starts promoting this practice.

> @trusted turns off safety checks. That's all it does.

You are thinking operationally about a feature that is defined semantically.

> How it is used is up to the programmer, and always will be.

Yes, so please start leading by example.


More information about the Digitalmars-d mailing list