DMD 2.100, bring ont he attribute soup
Paul Backus
snarwin at gmail.com
Sun May 29 23:14:32 UTC 2022
On Sunday, 29 May 2022 at 22:18:01 UTC, Walter Bright wrote:
> On 5/29/2022 2:05 PM, Paul Backus wrote:
>> The entire problem is that we *cannot* mix and match @live
>> code with @safe code.
>>
>> Nobody who cares enough about memory safety to be interested
>> in @live is going to want to give up @safe in order to use it.
>
> @live does not subtract any safety from @safe.
But it doesn't add any either. All of the mistakes @live prevents
you from making are already prevented by @safe on its own. The
only place you get any safety benefit from @live is in @system
code.
To be more precise about it: we cannot mix "code that benefits
from @live" with @safe code, because "code that benefits from
@live" is a subset of "@system code."
More information about the Digitalmars-d
mailing list