Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

RAII is completely static; the lifetimes of all (uniquely-owned) objects are determined at compile time with a set of rules based on the language syntax. But the "published"/"local" distinction as in this GC is dynamic: the compiler does not (and cannot) statically work out which objects are published and instead determines that at runtime.

This basic distinction leads to completely different implementations.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: