Visual C++ Support for Stack-Based Buffer Protection

Fri, 01 Dec 2017 10:00:00 GMT

Learn how one dynamic security analysis option, the /GS switch, provides protection against stack-based buffer overflows, including how the code is transformed when the switch is turned on and when it can or can’t secure your code.

Read article

Immutable Collections

Wed, 01 Mar 2017 10:00:00 GMT

Immutable collections provide an alternative to mutable and concurrent collections that can be much more suitable in certain scenarios. This article discusses the design and implementation of immutable collections and illustrates how and when to use them.

Read article

Managed Profile-Guided Optimization Using Background JIT

Tue, 01 Mar 2016 10:00:00 GMT

Background JIT is an optimization technique for managed code that can boost performance by as much as 50 percent and requires little effort to use. This article explores how to use the technology to best effect.

Read article

Streamline Code with Native Profile-Guided Optimization

Tue, 01 Sep 2015 10:00:00 GMT

Profile-Guided Optimization (PGO) is an important type of optimization supported by the Visual C++ compiler. Although it requires some effort to use, PGO almost always results in significant reductions in the size of the generated executable and improved performance.

Read article

Compilers - What Every Programmer Should Know About Compiler Optimizations, Part 2

Fri, 01 May 2015 10:00:00 GMT

Hadi Brais continues his series on theoptimization capabilities of the Visual C++ compiler by delving into register allocation and instruction scheduling.

Read article

Compilers - What Every Programmer Should Know About Compiler Optimizations

Mon, 02 Feb 2015 10:00:00 GMT

Hadi Brais introduces the sophisticated optimization capabilities of the Visual C++ compiler, which enable programmers to write understandable, maintainable code without compromising performance.

Read article

Application Instrumentation - Application Analysis with Pin

Mon, 03 Nov 2014 10:00:00 GMT

Get started with Pin, an instrumentation framework from Intel that enables you to build your own tools to profile applications while they are running. Learn how to build a Pintool in C++ that can help you detect common memory problems in your applications.

Read article