The D Programming Language and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Kindle Edition
 
   
Sell Back Your Copy
For a $12.34 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
The D Programming Language
 
 
Start reading The D Programming Language on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

The D Programming Language [Paperback]

Andrei Alexandrescu (Author)
4.6 out of 5 stars  See all reviews (38 customer reviews)

List Price: $49.99
Price: $35.70 & this item ships for FREE with Super Saver Shipping. Details
You Save: $14.29 (29%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Monday, June 4? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $21.99  
Paperback $35.70  
Unknown Binding --  
Sell Back Your Copy for $12.34
Whether you bought it on Amazon or somewhere else, you can sell it back through our Book Trade-In Program at the current price of $12.34.
Used Price$22.48
Trade-in Price$12.34
Price after
Trade-in
$10.14

Book Description

June 12, 2010 0321635361 978-0321635365 1
“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.

Check Out Related Media



Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $2 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Customers buy this book with Learn to Tango with D $17.83

The D Programming Language + Learn to Tango with D
  • This item: The D Programming Language

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Learn to Tango with D

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details



Editorial Reviews

About the Author

Andrei Alexandrescu, Ph.D., is the author of the award-winning books Modern C++ Design (Addison-Wesley, 2001) and, with Herb Sutter, C++ Coding Standards (Addison-Wesley, 2005). Through his work, Andrei has garnered a solid reputation as a leading innovator in programming languages and methods. Since 2006, he has collaborated closely with Walter Bright—the original designer and implementer of D—on designing and implementing the language and its standard library.

Product Details

  • Paperback: 460 pages
  • Publisher: Addison-Wesley Professional; 1 edition (June 12, 2010)
  • Language: English
  • ISBN-10: 0321635361
  • ISBN-13: 978-0321635365
  • Product Dimensions: 9.2 x 7 x 1.1 inches
  • Shipping Weight: 1.7 pounds (View shipping rates and policies)
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (38 customer reviews)
  • Amazon Best Sellers Rank: #365,476 in Books (See Top 100 in Books)

More About the Author

Andrei Alexandrescu coined the colloquial term "modern C++", used today to describe a collection of important C++ styles and idioms. His eponymous book on the topic, Modern C++ Design: Generic Programming and Design Patterns Applied (Addison-Wesley, 2001), revolutionized C++ programming and produced a lasting influence not only on subsequent work on C++, but also on other languages and systems. With Herb Sutter, Andrei is also the coauthor of C++ Coding Standards: 101 Rules, Guidelines, and Best Practices (Addison-Wesley, 2004). Through Andrei's varied work on libraries and applications, as well as his research in machine learning and natural language processing, he has garnered a solid reputation in both industrial and academic circles. Since 2006, he has been second-in-command to Walter Bright, the D programming language inventor and initial implementer. Andrei has been the key designer of many important features of D and has authored a large part of D's standard library, positioning him to write an authoritative book on the new language, appropriately entitled, The D Programming Language. Andrei holds a PhD in Computer Science from the University of Washington and a BS in Electrical Engineering from University "Politehnica" Bucharest. He works as a Research Scientist for Facebook.

Customer Reviews

Most Helpful Customer Reviews
23 of 23 people found the following review helpful
Format:Paperback|Amazon Verified Purchase
This book is one of the things D really needed to launch itself out of obscurity. It thoroughly explains the strengths of the language, why it is a practical language to learn and use, and it walks you through the more complex aspects of the language such as meta programming and concurrency/threading (which is often overlooked). As others have stated, it would be nice to have more real world examples - but then again, I never liked the books that have 5 out of 6 pages completely filled with code. This book is a good introduction to the rich toolset D provides - it's up to you to dig in and get experienced.
Comment | 
Was this review helpful to you?
20 of 20 people found the following review helpful
Format:Paperback|Amazon Verified Purchase
I've been using D regularly for about 2 years. When I heard about this book, I bought it more out of curiosity than anything. I was pleasantly surprised when this book revealed facets of D that I had not been aware of through two years of usage, library writing and forum surfing. Andrei's entertaining yet to-the-point style makes this a pleasant read, and he manages to cover both basic and advanced topics thoroughly yet succinctly.
Comment | 
Was this review helpful to you?
23 of 25 people found the following review helpful
A Modern Classic August 1, 2010
Format:Paperback
First, a little context. I've been around the D community for a few years, keep a blog about items of interest to D users, maintain an open source D project and, in 2007, coauthored "Learn to Tango with D". Through all of that, the majority of my experience was with D1. I was hesitant, even reluctant, to use version 2 of the language because, in some ways, it is a bit paradigm shift from the first version. Andrei's book has dispelled any doubts I had about moving forward with D2.

D2 melds several different programming paradigms into one whole. One of the most radical differences from existing C-family languages is the concept of 'ranges', which are intended as an improvement over, and replacement for, the more familiar 'iterators' of other languages. Before the book, while ranges were being implemented in the alpha versions of the D2 compiler, some people had trouble wrapping their heads around ranges. Here, Andrei explains them in a way that makes them easy to grok and will have you using them in no time. And it's important that you do understand them as Phobos, D's standard library (which is intentionally not given much coverage in the book) has been reworked around the concept.

Aside from ranges and the more basic features of D which aren't so foreign, you'll also learn about D's interpretation of constness and immutability (D's const and immutable keywords are intended to improve upon the mess that is C++ const), and the D style of concurrent programming. D is poised to slot seamlessly in to the world of multi-core programming, with built-in features that simplify the process for those, like me, who can't think on that scale. Andrei's explanation of concurrency pitfalls and D's solutions should turn a light on for you if you're in the dark about it.

I've highlighted these particular aspects of the book because they are the areas about which I was most uncertain before reading it. But the entire book is well written, witty and easy to read. If you've never written a line of D in your life, you should have no trouble doing so after reading this book. I can't begin to speculate how much a beginning programmer might get out of it, but I would certainly recommend it to anyone who has at least a basic familiarity with another language from the C family. Andrei has that rare gift of taking potentially boring or complicated material and making it not only digestable, but fun.
Was this review helpful to you?
Most Recent Customer Reviews
What C++ should have been
I just found out about the D language recently, and I have to say: this is what C++ should have been! Read more
Published 1 month ago by Chris D. Odom
The D Programming Language...
I'd love to get a compiler and try "D" for myself.

It would've been nice if the software was included with this book!

Four stars (no software provided... Read more
Published 1 month ago by D. S. HARDEN
The book is great. The subject: meh.
This is a very nicely written book on an unnecessary programming language. Language books are always a challenge: how to balance the formal, practical, and business aspects of a... Read more
Published 1 month ago by G. M. Arnold
Excellent book, not really for beginners
This is an excellent reference tome for those who want to learn the D language. It is not really an introductory programming book, but it doesn't claim to be. Read more
Published 6 months ago by Matthew Michael Caron
Best D programming book by an amazing author
It's the first programming book I've been reading that has been truly interesting to read! This book is for someone with some programming background who'd like to learn the D... Read more
Published 9 months ago by N. Therrien
Learning D2 as a Java Programmer -- Great Book
If you love programming and are interested in D2, this is the book for you. I picked it up because I think D2 offers a compelling feature set for doing high performance computing... Read more
Published 9 months ago by Frank0527
A fascinating read
This is not only the pre-eminent book on the D language, it is also a fascinating read. It actually covers D2, the 2nd generation of the D language. Read more
Published 10 months ago by TOPJOB7
Great book
I have received this book as a Christmas gift from my girlfriend (been wanting to read it for quite some time), and I'm really impressed by the language itself (and by Andrei's... Read more
Published 12 months ago by Alin
After a quick read...
I should have looked at the table of contents!
One topic I was hoping for was a clear introduction is how to compile and link. What's it with dm and dmc folders? Read more
Published 12 months ago by Lloyd Dupont
Great book for experienced programmers
"The D Programming Language" is a fascinating read for experienced programmer who like to investigate the interesting ideas in programming space. Read more
Published 12 months ago by Sukru Tikves
Search Customer Reviews
Only search this product's reviews

Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(3)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject