3 ms·
> If you look at CppCon 2015 when Herb was presenting the Core Guidelines and the new VSC++ static analyzers, only 1% of the audience said they ever used one.
by pcwalton 11y ago
> If you look at CppCon 2015 when Herb was presenting the Core Guidelines and the new VSC++ static analyzers, only 1% of the audience said they ever used one.
That's interesting.
It's especially interesting to note that those static analyzers work on unmodified code! The work-in-progress ISO Core C++ lifetime profile does not work on unmodified code and requires a lot of annotations…
- pjmlp 11y agoHere CppCon 2015: Herb Sutter "Writing Good C++14... By Default" around 00:32:00. https://youtu.be/hEx5DNLWGgA?t=2053 https://youtu.be/hEx5DNLWGgA?t=2053 > The work-in-progress ISO Core C++ lifetime profile does not work on unmodified code and requires a lot of annotations… Herb mentions that it still less than lifetimes in Rust given C++'s type system: https://youtu.be/hEx5DNLWGgA?t=1653 https://youtu.be/hEx5DNLWGgA?t=1653 https://github.com/isocpp/CppCoreGuidelines/raw/09aef9bd86d933bc1e1ffe344eb2e73d2de15685/docs/Lifetimes%20I%20and%20II%20-%20v0.9.1.pdf https://github.com/isocpp/CppCoreGuidelines/raw/09aef9bd86d9...
- pcwalton 11y agoI've read the paper closely. > Herb mentions that it still less than lifetimes in Rust given C++'s type system: Yes, I know Herb claimed that. As far as any of us can tell, it's based on a misunderstanding of Rust's rules and is wrong :)