|
Yes and no. Reducing the cost of the GC would benefit to many applications where responsiveness is important like games or UI-intensive applications, and this seems to be the main goal of ‘transaction oriented GC’. Determinism in the release of local resources can come as a consequence in specific cases, but the risk if you rely on this for releasing resources, is to make your resource management code fragile regarding small internal adjustments in the conditions for declaring a value as ‘published’. This is why I think we should not consider both as the same subject. (Also, my point was about not diverging this post on how to use pcall, or on how to change the language syntax for guarantying deterministic resource release.) Jean-Luc |