Editions Ideas
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Fri Jan 16 15:24:45 UTC 2026
On 17/01/2026 4:21 AM, Atila Neves wrote:
> On Monday, 5 January 2026 at 11:29:19 UTC, Richard (Rikki) Andrew
> Cattermole wrote:
>> On 05/01/2026 11:20 PM, Atila Neves wrote:
>>> On Monday, 15 December 2025 at 04:20:21 UTC, Mike Shah wrote:
>>>> On Sunday, 14 December 2025 at 20:16:34 UTC, Walter Bright wrote:
>>>>> [...]
>>>>
>>>> @live is an underrated feature, I'm a fan and it's something that I
>>>> occasionally use for its simplicity. Sometimes I toss @live, @safe,
>>>> etc. on functions to see that state of my code to see if the
>>>> compiler can help me refactor library code.
>>>
>>> I don't think anyone should be using features like `@live` themselves
>>> and instead the language should provide the features that allow one
>>> to write library solutions like smart pointers.
>>
>> @live goes on user functions, it has nothing to do with smart pointers
>> or library code.
>
> Yes, and I'm saying that users shouldn't be allocating with malloc/free.
I agree, but such library types have nothing to do with @live.
So I don't understand why you have introduced it here in this thread.
More information about the Digitalmars-d
mailing list