Would the ownership model make D lang as complicated as Rust?
timon.gehr at gmx.ch
Sun Nov 15 14:34:24 UTC 2020
On 15.11.20 15:11, donallen wrote:
> I don't know exactly how Walter intends to proceed with adding Rust-like
> move semantics to D, but the little I know suggests that it will be
> optional. If I'm right, that's very wise. Move semantics and no GC for
> those who really need it (justifying its cost) and the luxury of the GC
> for those who don't.
And an unsound interface between the two so you can have your O/B and
safety type checks and even get the luxury of some memory corruption anyway.
More information about the Digitalmars-d