If you needed any more evidence that memory safety is the future...
Chris Wright via Digitalmars-d
digitalmars-d at puremagic.com
Fri Feb 24 07:29:08 PST 2017
On Fri, 24 Feb 2017 09:14:24 +0200, ketmar wrote:
> forget about "-release" dmd arg. forget about "-boundscheck=off". no,
> really, they won't do you any good. after all, catching a bug in your
> program when it doesn't run in controlled environment is even more
> important than catching a bug in debugging session! don't hate your
> users by giving 'em software with all safety measures removed! please.
Especially since -release disables assertions and contracts.
If you really want extra validation that's too expensive in the general
case, you can use `version(ExpensiveValidation)` or the like.
More information about the Digitalmars-d
mailing list