www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Automatic initialization of variables in C++ experiences

Hi all,
   Clang-folks are working on an option to automatically 
initialize local variables, similar to what D does.  (only local 
variables, not heap allocated variables)

Read this thread if you are interested in performance 
measurements and discussion about perf impact (currently about 
1%) and compiler improvements to try to mitigate it:

("zero-init" = initialize with all zeros, "pattern-init" = 
initialize with a specific bit pattern)

Jan 22