D is our last hope

Siarhei Siamashka siarhei.siamashka at gmail.com
Wed Dec 6 03:53:45 UTC 2023


On Wednesday, 6 December 2023 at 02:32:20 UTC, H. S. Teoh wrote:
[...]
> (Incidentally this is why there was talk about @nogc Exceptions 
> a while back, the idea being that once we get rid of GC 
> dependency for Exception, then basically all of std.algorithm 
> and std.range would be usable in @nogc.)

The exception itself doesn't need to be GC allocated and this 
already kinda works with some limitations (not good enough for 
Phobos, but maybe usable for the other @nogc use cases). This 
reminds me of 
https://forum.dlang.org/post/kjkjagzrengbynkoffgy@forum.dlang.org


More information about the Digitalmars-d mailing list