Browse DevX
Sign up for e-mail newsletters from DevX


Book Excerpt: The Art of C++

This book goes inside the language to expose its most interesting features, sharing useful applications and utilities along the way. Chapter 2 walks you through the development of a complete garbage collection subsystem.




Building the Right Environment to Support AI, Machine Learning and Deep Learning

C++ expert Herb Schildt uses practical, high-powered applications to illustrate some of the most interesting features of this language. The book includes "Pure code" subsystems you can adapt to your own programs, and discusses financial calculations and file utilities. A C++ interpreter, an AI-based search engine, and a Web-based example for those programmers who interface C++ with the Internet are also included. Chapter 2 discusses the ongoing debate concerning the best way to manage the use of dynamically allocated memory and develops a complete garbage collection subsystem for C++.

Download the PDF of Chapter 2: "A Simple Garbage Collector for C++"

Reproduced from The Art of C++ by permission of McGraw-Hill Osborne Media ISBN 0072255129, copyright 2004. All rights reserved.

Thanks for your registration, follow us on our social networks to keep up-to-date