@safe leak fix?

bearophile bearophileHUGS at lycos.com
Wed Nov 11 14:35:49 PST 2009


Walter Bright:

> Also, I agree with "unsafe" being a pejorative. Got any better ideas? 
> "unchecked"?

Naming it "unsafe" is OK because it's already used in C#, and because unsafe code is indeed worse than safe code (because lot of today people want safety), so it's a fit name.

Languages like C#, Java, etc, start being designed for safety from day 0, and then they add optimizations on top to make them fast too (and today Java is sometimes about as fast as C++, despite it lacks things as arrays of structs). D is now doing the opposite, but I think this try to create a SafeD may require a lot of work and in the end holes in the safety net may be possible still... I hope the design of SafeD will go well.

Bye,
bearophile



More information about the Digitalmars-d mailing list