Re:Zeroing Memory is Hard: VC++ 2015 arrays
by gratilup on Monday July 18, 2016 @03:00AM
(#12113571)
I'm the main developer of the new optimizer. It's a bit too much to say it replaces the old one, it's more of an addition. I was aware of this issue with initializing local arrays, it was on the TODO list - hopefully for the next VS.
[ Parent
| on HN ]
Re:Zeroing Memory is Hard: VC++ 2015 arrays
by brucedawson on Monday July 18, 2016 @01:59PM
(#12116879)
I look forward to a fix, especially if the (I think) larger issue of large aggregates not being initialized efficiently is addressed. It feels like it is another instance of the same issue.
I hope the Python script is helpful for finding some of the odd variants that currently exist.
Re:Zeroing Memory is Hard: VC++ 2015 arrays
by ryuuchin on Monday July 18, 2016 @05:30AM
(#12114019)
Why isn't the ssa optimizer mentioned in the Update 3 release notes? Is it enabled by default in Update 3?
Re:Zeroing Memory is Hard: VC++ 2015 arrays
by voltagex_ on Monday July 18, 2016 @03:47AM
(#12113704)
Are you allowed to respond directly to the author in this case?
Re:Zeroing Memory is Hard: VC++ 2015 arrays
by apardoe-MSFT on Wednesday July 20, 2016 @02:46PM
(#12131447)
There's not much preventing any engineer at Microsoft from talking to developers. No lawyers need to be involved :-)