Introducing Mechanisms and APIs for Memory Management: Using Windows OS Native Runtime APIs

  • 1h 22m
  • Roger Villela
  • Apress
  • 2020

Explore and learn introductory topics about programming mechanisms for memory management available for Microsoft Windows. This book uses C++ pointers and specialized APIs such as the smart pointers of the C++ Standard Library and Microsoft UCRT functions. You’ll also see how to work with lvalue and rvalue references.

Introducing Mechanisms and APIs for Memory Management begins with topics about hardware features on the Intel x86 and Intel 64 (x64/amd64) hardware architectures and memory management. After reading this book you will be able to begin work with Windows memory management APIs.

What You Will Learn

  • Understand concepts and hardware features for Intel x86 and Intel 64 (x64/amd64) and memory management
  • Discover C++ programming language techniques and smart pointers
  • Work with Microsoft UCRT management APIs for memory management

Who This Book Is For

Software and cloud developers working on Microsoft Windows.

About the Author

Roger Villela is a software engineer and entrepreneur with almost 30 years of experience in the industry and works as an independent professional. Currently, he is focused in his work as a book author and technical educator and is specialized in the inner works of orthogonal features of the following Microsoft development platforms:

  • Microsoft Windows operating system base services.
  • Microsoft Universal Windows Platform (UWP).
  • Microsoft WinRT.
  • Microsoft .NET Framework implementation of the runtime environment (CLR).

His work is based on the Microsoft Visual Studio (Microsoft Windows) and Intel Parallel Studio XE (Microsoft Windows), using the following programming languages, extensions, and projections:

  • C/C++
  • Assembly (Intel IA-32/Intel 64 (x64/amd64))
  • Component Extensions for runtimes (C++/CLI and C++/CX).

In this Book

  • Memory Management
  • Development Environments, Memory Management, and Composite Type Pointers
  • Working with Smart Pointers: unique_ptr
  • Working with Smart Pointers: unique_ptr, shared_ptr, and weak_ptr
  • Working with Lvalue and Rvalue References
  • Working with Microsoft CRT/UCRT and Memory Management