Scott Meyers wants to bring default zero-initialization to C++, mentions TDPL for precedent

ponce via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 18 07:29:03 PST 2015


On Wednesday, 18 November 2015 at 15:12:27 UTC, Joakim wrote:
> He advocates for a tool like gofix, to automatically convert 
> such features to be deprecated:
>
> http://scottmeyers.blogspot.com/2015/11/breaking-all-eggs-in-c.html
>
> Good to see C++ finally trying to deprecate more, long overdue.

I doubt anything will get done even in 10 years.

The average C++ industrial codebase don't build with the latest 
compiler, or even any static analyzer, and has its own particular 
build system.

It is already a big trouble to upgrade C++ compilers even if 
nothing in the language is changing. D numerous, tiny 
interchangeable releases are a big asset when compared to the 
whole compiler-tied-to-IDE-tied-to-OS-releases which is what 
things are in C++ land.

The idea that you could bring the C++ community to use an 
automatic upgrade tool, or to get everyone to follow optional 
"Core Guidelines" is optimistic.


More information about the Digitalmars-d mailing list