25
votes
7answers
2k views

Disadvantages of scoped-based memory management

I really like scope-based memory management (SBMM), or RAII, as it is more commonly (confusingly?) referred to by the C++ community. As far as I know, except for C++ (and C), there's no other ...
-2
votes
1answer
97 views

In what language could I track reference counting in the simplest and safest way? (Or track existing reference counting?) [closed]

I want to count references of objects, just like you would with (some) garbage collection, but all I want to do is turn this into a graph dataset that I can then analyze or visualize. What language, ...
20
votes
3answers
2k views

Do all functional languages use garbage collection?

Is there a functional language which allows to use stack semantics - automatic deterministic destruction at the end of the scope?