www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Article on where C++ is heading with memory management

reply Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= writes:
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.

?
Sep 23 2015
next sibling parent cym13 <cpicard openmailbox.org> writes:
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 :-)
Sep 23 2015
prev sibling parent Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= writes:
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
Video from the presentation at CppCon: https://youtu.be/hEx5DNLWGgA
Sep 24 2015