Would the ownership model make D lang as complicated as Rust?
M.M.
matus at email.cz
Mon Nov 16 20:17:56 UTC 2020
On Sunday, 15 November 2020 at 14:34:24 UTC, Timon Gehr wrote:
> 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.
Are you sceptical of introducing O/B principles into current D,
or is it just about how it's being discussed/implemented?
More information about the Digitalmars-d
mailing list