Thoughts from newcommer

Piotr Kowalski via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 11 13:48:13 PDT 2017


> (All gc-ed langauges recommend static preallocation :P)

;) Thanks for replying.

> https://wiki.dlang.org/Vision/2017H1
>

Thanks, I have read that already, that's why I've asked about 
longer term.

>> What about RAII?
>
> It's already in the language.

Is it in std already? How do I allocate equivalent of std::vector 
on heap with RAII in D that will be disposed at the end of the 
scope automatically?

> The current proposal is this 
> https://github.com/dlang/DIPs/blob/master/DIPs/DIP1000.md

Thanks, after first glance I think this is addressing exactly 
what I was asking.





More information about the Digitalmars-d mailing list