In this special issue of Dr. Dobb's Journal, we'll guide you through the use of smart pointer templates in C++, show how batching can improve database throughput, examine Mark Lutz's new Python book, and discuss Microsoft's new WebMatrix tool.
In This Special Digital Issue:
- A Base Class for Intrusively Reference-Counted Objects in C++
By Peter Weinert
Smart pointers encapsulate pointers to dynamically allocated resources such as heap memory or handles. They relieve you of explicit resource deallocation, therefore simplifying resource management, exception-safe programming, and the "Resource Acquisition Is Initialization" (RAII) idiom. Your tool box provides different smart pointer templates: auto_ptr, unique_ptr, shared_ptr, weak_ptr, or intrusive_ptr. This section sketches these template classes.
by Andrew Binstock
Microsoft promotes WebMatrix as a single download that provides most everything an SMB would need to build a small web site — but does it deliver?
- Programming Python, 4th Edition Review
by Mike Riley
Python has grown from a Perl alternative to a language capable of running some of the most sophisticated and flexible applications for global companies like Google. How does this 4th release of Mark Lutz's Programming Python hold up to the previous books it was built upon?
- Improving OLTP Database Throughput via Batching
by John Lane
Parallel threads and JDBC connection pools can be useful, but should not be used blindly. When handling numerous transactions with small overhead on heavily contended systems, batch processing often provides a better solution.
Table of Contents
This digital issue is sponsored by: