News for hackers. Stuff that matters.
Re:John Carmack on Mutable Variables by maleldil on Friday October 31, 2025 @12:02PM (#45773607)
Not "a resource", but memory specifically. If there's a proper resource (e.g. a file), you should ensure it's explicitly released instead of relying on the GC (using with/close/etc.) And if memory usage is really important, you should probably explicitly delete the variable.

Anything else is wishful thinking, trying to rely on the GC for deterministic behaviour.

There are no comments on this comment yet.