[Dlang-study] [lifetime] Initial thoughts on lifetime management

Andrei Alexandrescu andrei at erdani.com
Wed Oct 28 05:24:11 PDT 2015


On 10/28/2015 05:05 AM, Dmitry Olshansky wrote:
> I mean our @rc stuff should automatically work for ref-counting of COM
> objects and beyond. Manual ref-counting of COM is error prone, library
> solution is suboptimal see Andrei initial post.

That would be on the "nice to have" list but let's not make compromises 
for its sake. Code using COM probably does not have safety as an 
essential concern, and also does not passes COM objects as casually as 
regular class references. -- Andrei


More information about the Dlang-study mailing list