D Editions
Paolo Invernizzi
paolo.invernizzi at gmail.com
Fri Dec 20 13:43:40 UTC 2024
On Thursday, 19 December 2024 at 16:52:35 UTC, Atila Neves wrote:
> On Thursday, 6 June 2024 at 15:47:50 UTC, Timon Gehr wrote:
>> E.g., there are bugs that allow you to mutate through `const`
>> pointers. Some of them may not be fixed in edition 2024
>> because the fix would break code. However, in edition 2025 the
>> bugs are fixed. Now edition 2025 calls into a function from
>> edition 2024 that violates memory safety by modifying a const
>> pointer. All involved code is `@safe`, yet memory safety is
>> violated and this hole can never be fixed if edition 2025 can
>> just call into edition 2024.
> I think we will just have to live with this and encourage
> people to upgrade to the newer edition.
So using a library from a previous edition *could* invalidate
memory safety guarantees, and nothing can be done?
This is (again) a marketing disaster ...
More information about the dip.ideas
mailing list