Looking for a Lua alternative

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Fri Dec 15 13:33:45 UTC 2023


My suggestion up to this point has been ``@localnogc``.

Disallows GC operations accidentally happening in a function body, but 
does allow calling GC functions.

Simple, easy to implement and understand. While also ensuring you don't 
accidentally do something in a hot path that you were not expecting 
(like creating a closure on the heap).


More information about the Digitalmars-d mailing list