New Visual C ++ code optimizer and visual Optimization
Microsoft released a new advanced code optimizer in May 4 to serve the Visual C ++ back-end compiler. It improves code performance, compresses code size, and brings the compiler into a new realm.
The Visual C ++ team said on the blog that this will be the first version released. We encourage everyone to try and give suggestions and feedback. The new optimizer will be released following Visual Studio Update 3. Currently, this updated version does not support the new compiler, but is only used for testing.
The purpose of the new Optimization Framework is to achieve more in-depth optimization, such as the use of more compilation information and the development of modern compilers. In the past, outdated compilers made advanced optimization and Speed Optimization difficult. As a new optimization framework, it will become the foundation for future optimization. Therefore, it aims to simplify implementation, testing, and evaluation.
Goal of the new Optimizer
Improve code quality, including improving performance and reducing code size
Design an optimization framework to make development simpler and with fewer potential errors
Provide better static analysis for code
Focus on testing and correctness
How to try
Installing the new optimizer compiler is simple. You only need to install the latest version of the VisualCppTools package from NuGet. For detailed installation details, refer to this blog. After installation, You can compile your program according to the previous steps. The new optimizer will automatically start.
Http://www.cnblogs.com/roucheng/p/cppbianyiqi.html