Would the ownership model make D lang as complicated as Rust?
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Mon Nov 16 22:50:16 UTC 2020
On Monday, 16 November 2020 at 22:39:14 UTC, Piotrek wrote:
> And according to my (limited) academic knowledge, complete
> compile time automatic memory management isn't simply possible.
> (You have to use hacks like weak refs and other not fancy
In the general case no, because then the compiler would have to
predict all relevant execution patterns.
If you can deduce/impose an invariant order then it could, in
More information about the Digitalmars-d