D Editions
Paolo Invernizzi
paolo.invernizzi at gmail.com
Mon Dec 23 18:35:27 UTC 2024
On Monday, 23 December 2024 at 16:05:20 UTC, Atila Neves wrote:
> On Friday, 20 December 2024 at 13:43:40 UTC, Paolo Invernizzi
> wrote:
>> 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:
>>
>>>> [...]
>>
>>> 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 ...
>
> I'm all ears as to what we could do instead.
Refuse to compile previous editions @safe functions, if a bug
related to memory safety was applied in following revisions.
At least provide a compiler switch to turn on this behavior, so
that it's crystal clear to the programmer that's dealing with
them.
More information about the dip.ideas
mailing list