Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


“To the best of my knowledge, D offers an unprecedentedly adroit integration of several powerful programming paradigms: imperative, object-oriented, functional, and meta.”
—From the Foreword by Walter Bright

“This is a book by a skilled author describing an interesting programming language. I’m sure you’ll find the read rewarding.”
—From the Foreword by Scott Meyers

D is a programming language built to help programmers address the challenges of modern software development. It does so by fostering modules interconnected through precise interfaces, a federation of tightly integrated programming paradigms, language-enforced thread isolation, modular type safety, an efficient memory model, and more.

The D Programming Language is an authoritative and comprehensive introduction to D. Reflecting the author’s signature style, the writing is casual and conversational, but never at the expense of focus and pre¿cision. It covers all aspects of the language (such as expressions, statements, types, functions, contracts, and modules), but it is much more than an enumeration of features.

Inside the book you will find

  • In-depth explanations, with idiomatic examples, for all language features

  • How feature groups support major programming paradigms

  • Rationale and best-use advice for each major feature

  • Discussion of cross-cutting issues, such as error handling, contract programming, and concurrency

  • Tables, figures, and “cheat sheets” that serve as a handy quick reference for day-to-day problem solving with D

Written for the working programmer, The D Programming Language not only introduces the D language—it presents a compendium of good practices and idioms to help both your coding with D and your coding in general.

Subscriber Reviews

Average Rating: 4.285714285714286 out of 5 rating Based on 7 Ratings

"Next Revision Should Be Comprehensive" - by AM on 08-NOV-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
The book needs to be more methodical about how concepts are introduced and explained.  Many examples include other unrelated concepts that are explained later in the book.  In short, when explaining something, put the focus on what you are trying to convey, otherwise it's unnecessarily confusing.  Hopefully the next revision slows down the pace and simplifies the delivery.  The 'D' programming language is not as complicated as this book makes it out to be.
Report as Inappropriate

Table of Contents