Memory management design
bearophile
bearophileHUGS at lycos.com
Wed Jul 10 06:52:11 PDT 2013
Kagamin:
> Most functions can't be @nogc because they throw exceptions.
Probably about half of my functions/metods are tagged with
"nothrow". And as ".dup" becomes nothrow and few more functions
become nothrow (iota, etc), that percentage will increase. I have
also proposed to add to Phobos some nonthrowing functions, like a
maybeTo, that help increase the percentage of nothrow functions:
http://d.puremagic.com/issues/show_bug.cgi?id=6840
Bye,
bearophile
More information about the Digitalmars-d
mailing list