Article on where C++ is heading with memory management

cym13 via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 23 05:09:39 PDT 2015


On Wednesday, 23 September 2015 at 11:52:53 UTC, Ola Fosheim 
Grøstad wrote:
> https://github.com/isocpp/CppCoreGuidelines/raw/master/docs/Lifetimes%20I%20and%20II%20-%20v0.9.1.pdf
>
> A worthwhile read for those interested in where C++ is heading 
> with regards to static analysis etc.
>
> External analyzers might be an interesting direction for a 
> gc-free D as it might be less intrusive than what Rust is doing.
>
> E.g.:
>
> 1. Develop using the manual annotations, but use the GC to 
> prevent memory issues during initial coding.
>
> 2. Run checker and fix the code. Turn off GC.
>
> 3. Run in debugger, fix code, go to 2.
>
> ?

I'd add a "Profile" step but this article is indeed interesting, 
thanks :-)


More information about the Digitalmars-d mailing list