FWIW, I'm getting the `finalizerCalled` message on Nim v0.18.1 with release and 
non-release options.
    
    
    $ nim -v
    Nim Compiler Version 0.18.1 [MacOSX: amd64]
    Compiled at 2018-05-28
    Copyright (c) 2006-2018 by Andreas Rumpf
    
    
    Run

I'll complement Araq's (perhaps too blunt) answer by saying that few 
programmers generally rely on GC for deterministic and time-sensitive execution 
of finalizers (and few mainstream industrial platforms can provide such 
guarantees, especially under heavy multi-threaded & concurrent execution).

Where such behavior is needed, programmers generally adopt a design for 
lifecycle management of important objects/resources, such as using delimited 
lifetime blocks, custom ref-counting, custom allocators, etc.

Reply via email to