
Amazon Prime Free Trial
FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with FREE Delivery" below the Add to Cart button and confirm your Prime free trial.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited FREE Prime delivery
- Streaming of thousands of movies and TV shows with limited ads on Prime Video.
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
Buy new:
$39.99$39.99
Ships from: Amazon.com Sold by: Amazon.com
Save with Used - Good
$27.07$27.07
Ships from: Amazon Sold by: ST MEDIA LLC
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Programming in D: Tutorial and Reference
Purchase options and add-ons
D is a multi-paradigm system programming language that combines a wide range of powerful programming concepts from the lowest to the highest levels. It has C-like syntax and static typing. It pragmatically combines efficiency, control, and modeling power, with safety and programmer productivity in mind.
Each chapter is based on the contents of the previous ones, introducing as few new concepts as possible. It is recommended that the book is read in linear fashion, without skipping chapters if possible.
Although this book was written with beginners in mind, it covers almost all features of D. More experienced programmers can use the book as a D language reference by starting from the index section.
Blurbs from the back cover:
- “D is pristine, clean, immensely powerful, and arguably the actual state-of-the-art programming language. Ali's book is a gem. Clear, concise, and complete.” – Olivier Henley
- “I have been using Ali’s online D book to teach D at the university level. It is up-to-date, complete, and most importantly, extremely readable. Having a print version is even better! This is now the 'go-to’ book for learning D programming.” – Chuck Allison, Professor and Chair, Computer Science Department, Utah Valley University
- “Ali's explanations are succinct and on target. I like that he provides rationale for why D was designed in a particular way and how I can use it most effectively. This is the best computer language book I've read.” – Robbin Carlson, Luthier and Enterprise Architect
- “I taught a CS2 Data Structures class in D with more success and student appreciation than when using either C++ or Java as it's an ideal language to express the relevant concepts at all scales, from detailed to big picture, without needless complexity.
Ali Çehreli's tutorial played a central role supporting students especially during the first half of the course — without it the course simply would not have worked, so "many thanks Ali" — and an important part of that is its linearity — it can be read with only backward dependencies. This meant that with hard work even students of little experience and only moderate current abilities could get up to speed, and we saw just that. It is hard to overstate this factor. I unreservedly recommend this book to all.” – Dr. Carl Sturtivant, University of Minnesota Department of Computer Science & Engineering - “This book is one of the best guides through the language that I've seen.” – Andrew Wray, D Enthusiast
- “I encourage anyone considering D to read this book. Not exactly 'D for Dummies' but it's easy to follow even if you don't have much experience with compiled languages.” – bachmeier, Reddit user
- “Having worked through the book, I have to say this is one of the easiest to follow and distraction free read there is and the fact that it made learning a new language a total breeze really impressed me.” – Imran Khan, Student
- ISBN-101515074609
- ISBN-13978-1515074601
- Publication dateAugust 19, 2015
- LanguageEnglish
- Dimensions7 x 1.75 x 10 inches
- Print length773 pages
Similar items that may deliver to you quickly
Editorial Reviews
About the Author
Product details
- Publisher : CreateSpace Independent Publishing Platform (August 19, 2015)
- Language : English
- Paperback : 773 pages
- ISBN-10 : 1515074609
- ISBN-13 : 978-1515074601
- Item Weight : 2.9 pounds
- Dimensions : 7 x 1.75 x 10 inches
- Best Sellers Rank: #4,833,961 in Books (See Top 100 in Books)
- #1,884 in Software Design & Engineering
- #5,700 in Computer Programming Languages
- #6,260 in Software Development (Books)
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
- 5 star4 star3 star2 star1 star5 star80%6%14%0%0%80%
- 5 star4 star3 star2 star1 star4 star80%6%14%0%0%6%
- 5 star4 star3 star2 star1 star3 star80%6%14%0%0%14%
- 5 star4 star3 star2 star1 star2 star80%6%14%0%0%0%
- 5 star4 star3 star2 star1 star1 star80%6%14%0%0%0%
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonReviews with images
Content is superb but the build quality of the book is questionable
-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
At over 700 pages, it's not a short text. Initially I was a bit worried about it's size. Other 600+ page "door stops" that I've seen have been filled with long opinion sections or narrative descriptions that distracted from the task at hand. Programming in D is, thankfully, the complete opposite. The book is long only because D has many features and Ali wants to explain them all, carefully.
If you're new to D, get this reference. You'll be a much more relaxed programmer.
Also, I'd recommend getting a paper copy instead of just using the online version. It supports the author, saves your screen space for code, and gives your eyes a different focal point from time to time.
The book is great. It may even be a good book for learning programming in general (especially C-like languages), if you don't have any coding experience. The entire book gives very concise statements and examples for each idea. Even the chapters themselves are short and to-the-point. The author doesn't try to be sarcastic or witty. It's a proper tutorial for idiomatic D.
Though it's probably a reasonable reference book for D, if you already have a good handle on the language or have a lot of experience with C++, the book does build in a linear fashion. Since most of my previous experience is in python, skipping chapters made me feel lost... so read chapters in order. (The author even says this in the preface.)
The books is handy resource to have around and coming from C its a great book to learn D. Very clear explanations and useful in learning D.
Now to the build quality of the book.
I must say it's a very attractive book but the glue holding the book together is questionable. I owned this book for one week and the middle of the book is already splitting apart. Like another reviewer suggest, I wish they offered a hardcover version since they usually are built better and last longer. I won't knock stars down from the rating since the content is great but wish they built it better.
Reviewed in the United States on January 17, 2016
The books is handy resource to have around and coming from C its a great book to learn D. Very clear explanations and useful in learning D.
Now to the build quality of the book.
I must say it's a very attractive book but the glue holding the book together is questionable. I owned this book for one week and the middle of the book is already splitting apart. Like another reviewer suggest, I wish they offered a hardcover version since they usually are built better and last longer. I won't knock stars down from the rating since the content is great but wish they built it better.
Top reviews from other countries
The 89(!) chapters introduce topics in bite-sized chunks so you can dip into this book at will or read it linearly (as recommended). I was coming from a C++ background, so not too many surprises in the first 450 pages or so, but even towards the end of the book (~700pp in total) the style is reassuring, measured and friendly. Every sentence is carefully judged, and don't be put off by the length of this book; it doesn't waffle on.
If you want to teach D, definitely consider this as your course book. If you want to learn D, either as a first compiled language or if you're coming from another C/non-C family language, do read this book. The first half of the book contains end-of-chapter exercises with full solutions at the back, while the later chapters introduce fully working code to compile and experiment with yourself.
Each chapter talks about a part of the code going from the basics to the very advanced abilities that D offers.
Best of all is that the author keeps his books current and up to date ( as my book was a revision of 06/2016, despite the book being published in 2015 ). And it showed because the authors used the ( at that time ) latest compiler version.
Be prepared to take a long time to read each chapter. Even if your a experienced programmer, its best to not skip the basics because they hold some interesting pieces of information, about what is possible in D. Its a good book to start in D and its even useful experienced programmers.
As a side note: Take a look at the author his D conference talks on Youtube etc. This will give you a test how the author can explain even complicated topics in easy to understand ways ( as he also does in the book ).
Doch dem ist nicht so, denn Ali Cehreli stellt in jedem Kapitel die Funktionalität mit recht brauchbaren Beispielen vor, die zum selber lösen anregen und nicht die hundertste Fassung der gleichen Aufgabe sind. Das ganze garniert mit einem Augenzwinkern.
Besonders beeindruckt hat mich, dass der Autor auch online das Buch weiter pflegt und Verbesserungen vornimmt.
Wer nicht weiss, ob der Ausflug in D sich lohnt, sollte sich das Buch auf jeden Fall anschauen.





