Why is three safety levels need in D?

Nordlöw via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Nov 17 09:29:20 PST 2016


On Thursday, 17 November 2016 at 17:27:01 UTC, Stefan Koch wrote:
> It allows encapsulating unsafe operations in safely-callable 
> wrappers.

So is this a limitation in Rust? If so, could you give a more 
concrete D code example that cannot be implemented with only two 
safety levels?


More information about the Digitalmars-d-learn mailing list