Does WinRT have Garbage Collection?
Does Win开发者_运维知识库RT have Garbage Collection?
Or does it do reference counting as does COM?
I found this article, which cites Microsoft's Martyn Lovell:
"WinRT objects are reference counted like COM for memory management, with weak references to avoid circularity."
Apparently this was mentioned at his talk on WinRT internals at the BUILD convention.
精彩评论