4 ms·
Destructors aren't a good way to free resources in a garbage collected language.
by chc 14y ago
Destructors aren't a good way to free resources in a garbage collected language.
- true_religion 14y agoDoes ref-counting count as garbage collection?
- tomjen3 14y agoI have yet to see a language that actually cleans up after itself. Many will attempt to free memory, but what about files, db connections, windows, sockets?
- reginaldo 14y agoHave you heard about Racket's custodians? [1] http://docs.racket-lang.org/reference/eval-model.html#(part._custodian-model) http://docs.racket-lang.org/reference/eval-model.html#(part....