On 2009-10-20 03:41:59 +0200, Walter Bright <[email protected]> said:
Denis Koroskin wrote:
Safe as in SafeD (i.e. no memory corruption) :)
Right. The problems with other definitions of safe is they are too ill-defined.
no (or as little as possible) undefined behaviour comes to mind.
Initialization of values in D follows that.
Slice appending does not (and will remain so also with LRU cache).
LRU cache improves the current status quo, but is still a cludge:
undefined behavious in some corner cases, undefined optimization
behaviour...
It improves things, but cannot be trusted in general, thus a clean
library type is still needed imho.
Fawzi