Wednesday, October 29, 2003

Sam Gentile's Blog

Sam Gentile's Blog: "the article 'Smart Cleanup: Achieve More Reliable Resource Management with Our Custom C++ Classes.' This article blew me away. Eric Niebler of Microsoft says 'Resource Management in C++ is hard. To automate my housekeeping chores, I developed a generic resource management library which I call SmartAny.' Okay, so now you are saying, 'there you go Sam with that dead C++ stuff again' but wait, listen to this: '...running finalizers nondeterminstically in a seperate thread thread can actually make it harder to clean up these resources (handles, etc) correctly. ...In managed code, it complements and integrates seamlessly with the garbage collector so I can have deterministic finalization when I need it and let the garbage collector handle the rest.' "

No comments: