D Cookbook

D Cookbook Front Cover
2 Reviews
362 pages

Book Description

Discover the advantages of programming in D with over 100 incredibly effective recipes with this book and ebook.


  • Leverage D to write efficient and correct programs with minimum code
  • Learn advanced code generation techniques to automate programming tasks
  • See how to apply D idioms to real-world problems and understand how it can benefit you

In Detail

D is a modern programming language that uses the familiar C family while offering advanced capabilities, safety guarantees, programmer productivity, and high efficiency. It helps you to get the most out of your hardware and your programmers simultaneously, saving both development and deployment costs.

This practical guide will walk you through getting the work done with D, from writing your first program to writing advanced autogenerated objects, with notes based on real-world experiences telling you about potential pitfalls and how to avoid them. You'll use some of the third-party libraries available for D to get code working fast, including access to engines, , and more.

What you will learn from this book

  • Use the D programming language from "Hello World" to bare metal code
  • Gain an insight into avoiding the garbage collector and understand its pros and cons in real-world code examples
  • Discover how to use D's abstraction abilities to make the most of its efficient and easy resource capabilities
  • Implement and use ranges, a D idiom for lazy sequence implementation with decoupled generic algorithms
  • Explore a variety of third-party libraries available to get your work done faster
  • Integrate D into existing C, C++, and other environments
  • Prove program correctness with static analysis and test-driven development


A recipe-packed reference guide filled with practical tasks that are concisely explained to develop and broaden the user's abilities with the D programming language.

Who this book is written for

If you are an experienced programmer who is looking to explore a language that offers plenty of advantages over more established programming languages, this is the book for you. We assume that you are already familiar with general programming language basics, but you do not need to be a proficient user of D.

Table of Contents

Chapter 1: Core Tasks
Chapter 2: Phobos – The Standard Library
Chapter 3: Ranges
Chapter 4: Integration
Chapter 5: Resource Management
Chapter 6: Wrapped Types
Chapter 7: Correctness Checking
Chapter 8: Reflection
Chapter 9: Code Generation
Chapter 10: Multitasking
Chapter 11: D for Kernel Coding
Chapter 12: Web and
Appendix: Addendum

Book Details

  • Title: D Cookbook
  • Author:
  • Length: 362 pages
  • Edition: 1
  • Language: English
  • Publisher:
  • Publication Date: 2014-05-26
  • ISBN-10: 1783287217
  • ISBN-13: 9781783287215
File HostFree Download LinkFormatSize (MB)Upload Date
EU(multi) Click to downloadPDF, EPUB, MOBI4.607/05/2014
UpLoaded Click to downloadPDF, EPUB, MOBI4.609/16/2014
How to Download? Report Dead Links & Get a Copy

Leave a Reply