Editions Ideas
Atila Neves
atila.neves at gmail.com
Fri Jan 16 15:21:50 UTC 2026
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.
More information about the Digitalmars-d
mailing list