> Keeping it brief you use RAII for file handles too, and they get closed on > exceptions due to stack unwinding. > So you would still use RAII for exception safe handling of non-memory > resources like file handles, even if you had GC for memory.
But that presumably doesn't help with a long-lived resources, that live beyond / goe outside / get handed off to something else outside the current stack. _______________________________________________ bitc-dev mailing list bitc-dev@coyotos.org http://www.coyotos.org/mailman/listinfo/bitc-dev