
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:
$51.72$51.72
Ships from: Amazon.com Sold by: Amazon.com
Save with Used - Very Good
$24.99$24.99
$3.99 delivery December 16 - 20
Ships from: HPB-Diamond Sold by: HPB-Diamond
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.
D Cookbook: Discover the Advantages of Programming in D With over 100 Incredibly Effective Recipes Paperback – Illustrated, May 18, 2014
Purchase options and add-ons
- Print length343 pages
- LanguageEnglish
- PublisherPackt Pub Ltd
- Publication dateMay 18, 2014
- Dimensions7.5 x 0.75 x 9.25 inches
- ISBN-101783287217
- ISBN-13978-1783287215
Book recommendations, author interviews, editors' picks, and more. Read it now.
Frequently bought together

Customers who viewed this item also viewed
Product details
- Publisher : Packt Pub Ltd; Illustrated edition (May 18, 2014)
- Language : English
- Paperback : 343 pages
- ISBN-10 : 1783287217
- ISBN-13 : 978-1783287215
- Item Weight : 1.4 pounds
- Dimensions : 7.5 x 0.75 x 9.25 inches
- Best Sellers Rank: #3,677,536 in Books (See Top 100 in Books)
- #435 in Compiler Design
- #488 in Software Programming Compilers
- #2,506 in Game Programming
- Customer Reviews:
Customer reviews
- 5 star4 star3 star2 star1 star5 star100%0%0%0%0%100%
- 5 star4 star3 star2 star1 star4 star100%0%0%0%0%0%
- 5 star4 star3 star2 star1 star3 star100%0%0%0%0%0%
- 5 star4 star3 star2 star1 star2 star100%0%0%0%0%0%
- 5 star4 star3 star2 star1 star1 star100%0%0%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 Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
The book covers a plenitude of recipes -- from essential subjects like ranges, tasks, and Phobos (D's standard library) to advanced topics like manual memory management, reflection and compile time code generation using templates, CTFE, and mixins and running D on bare x86 and ARM metal. Some recipes feature solutions devised by the D community that the reader can dig into by following the given pointers.
Most notably, this book shows "idiomatic" coding in D.
Although the book starts with recipes on installing a D compiler and writing Hello World it becomes fairly technical and advanced. From my perspective the book is most useful to D programmers and ambitious newcomers to the language. To me, the book is sometimes a tad too ad hoc and focused on a solution than to teach principles and concepts of the D language/library. Providing more background in these few recipes and more guidance to see the big picture justifying a taken approach may aid the reading experience. When reading the many different loosely connected recipes cover to cover I sometimes felt lost which maybe is not unusual for an encyclopedic kind of book. In some recipes the book gives its reader a feel for some rough edges of the languages and its implementation including Phobos but never to bash, always to advance. The last chapter features Adam Ruppe's libraries for web and GUI programming which I found less convincing because most is hidden inside these libraries and so the access is less direct. The book is exceptional strong when the author develops his solutions choosing wisely from the language's offerings.
A must read for any D programmer to see what the language is up to and to draw on Adam Ruppe's experience with D - covering many idioms in condensed form that alone are difficult to find on the Internet.
The book is formatted in such a way that each chapter is a group of related "recipes." Each recipe explains a concept by starting with a general summary, and a code sample, and ends it up with a *very* detailed explanation of how everything works. These descriptions also often include some very helpful tangential tips about how to be better D programmer in general, which can be very helpful. It's amazing how simply Ruppe can explain how and why you should do relatively advanced things like accessing and parsing exception-less stack traces.
The only thing I don't like about the recipes is that sometimes the "How it works" section can be a bit long-winded. The descriptions can often span multiple pages, often reiterating lots of information. It isn't necessarily a bad thing, but be prepared to skim a lot of the book if you already know a fair amount about D programming.
Overall, I think that "The D Cookbook" is an excellent read, and should be considered required reading for anyone serious about coding with D. It also makes a very handy reference for how to do things that you can't necessarily find on StackOverflow or Dlang.org yet.
**Disclaimer**: I did receive a free copy of The D Cookbook ebook in exchange for a fair and unbiased review, and it did not alter my judgement in any way, shape, or form.
The book suffers from a simplistic layout and some sloppy copy editing in the first chapter, however, these are minor points that do not affect its technical value nor its charm. The book (and the language) will be worth your time, if you liked what C++ used to be. Think Scott Meyers for D, a little less professional, a little more personal and a whole lot less incidental complexity.
While going through the recipes comprising this cookbook (and there is a lot to go through) it was hard to avoid developing an ever-growing sense of appreciation and respect for the author Adam D. Ruppe's level of expertise, eloquence and clarity of thought.
I highly recommend this book. As a software practitioner, I felt both enlightened and empowered after I read it.


