Blog post about API design for objects with dependencies and lifetime management:
Who owns who
by Thomas Young
About the article
A key take-away is that a simple reference counting strategy can be the ideal way to manage lifetimes for API objects, since, as the API designer we can choose to enforce a directed acyclic graph dependency structure.
Add a Comment
Comments are closed.