Could we devise some simple rules and conventions inspired by Rust to have a safer resource/memory experience with C++ ?
Some pointers I gathered:
* A nice SO answer: http://stackoverflow.com/questions/30011603/how-to-enable-rust-ownership-paradigm-in-c/30062820#30062820 http://stackoverflow.com/a/30062820 * Stroustrup et al "Resource-Model" based on code static analysis: http://www.stroustrup.com/resource-model.pdf * The idea of "Owner" hinting is nice, but requires tooling