anonymous:

Here, the pointer to the stack escapes the function. Don't do that!

Hopefully the D type system will be improved with scoping tracking & management, to turn similar operations into compilation errors (as in Rust, but perhaps in a less refined way).

Bye,
bearophile

Reply via email to