named arguments, string interpolation, please stop.

Siarhei Siamashka siarhei.siamashka at gmail.com
Fri Jan 12 02:27:56 UTC 2024


On Friday, 12 January 2024 at 01:50:25 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
> What you are suggesting is that ``@nogc`` should for each 
> function, call into the GC to disable/enable it automatically.

I haven't suggested anything like this.

I'm in favor of something simple like a `@localnogc` attribute, 
though the details still need to be clarified to see how it 
applies to the actual `@nogc`-compatible libraries and benefits 
them. But Walter opposes this idea in principle: 
https://forum.dlang.org/post/unpn1j$1617$1@digitalmars.com ("I 
don't see much utility in a "logical @nogc" that allows using the 
gc anyway"). So no progress can be made without a fork. But the 
OpenD fork doesn't care about the `@nogc` use case.


More information about the Digitalmars-d mailing list