Learn to Tango with D

Learn to Tango with D is a book about the D programming language and the Tango software library. It became available as an eBook 7th of January 2008, whereas the printed version should be available 3 weeks later.

Learn to Tango with D introduces you to D, with special attention given to the Tango software library. A concise yet thorough overview of the language syntax and features is presented, followed by an introduction to Tango.

The book is written by Kris Bell, Lars Ivar Igesund, Sean Kelly and Michael Parker.

Foreword is by Walter Bright, and technical reviewer was Don Clugston.

Buy the Book

All proceeds from the book will be channeled into the Tango project, to the benefit of both Tango and the D community.

Apress - eBook available now

- eBook available now Amazon - Now indicates in-stock

- Now indicates in-stock Barnes and Noble - Will have it on the shelves soon

...

Book Reviews

Download Index

Jesse Phillips has kindly compiled an index for the book that you can download in various formats.

Feel free to suggest improvements, if so please use the ODT version.

Talks and Presentations

If you or your company is interested in talks or presentations on D and Tango, please contact us.

Table of Contents

The book proper has 188 pages divided on the following subjects:

First Steps Hello World

Source Modules

Package, Import, and Symbol Visibility

Installation

Compilation Tools D Fundamentals Declarations

Pointers

Arrays

Flow Control

Functions

Error Handling D’s Object-Oriented Features Modules

Structs and Unions

Classes

Interfaces Procedural Lifetime D Language Type Classifications

Scope and Lifetime

Storage Classes

Static Constructors

Lifetime Characteristics of Modules

Lifetime Characteristics of Functions

Garbage Collection Templates The Problem of Insufficient Information

Type Templates

Function Templates

Template Specialization

Template Metaprogramming

Compile-Time Function Evaluation Text Processing String-Manipulation Utilities

Text Class

Numeric Conversion

Layout and Formatting Input and Output Console I/O

Stream I/O

Network I/O

File Handling The Other Packages The Package Rundown

Threads and Fibers

Collections

Logging

And That’s Not All!

Errata

This is deferred to its own Errata page.