Synopsis:
D is a modern programming language that uses the familiar C family syntax while offering advanced modelling capabilities, safety guarantees, programmer productivity, and high efficiency. It helps you get the most out of your hardware and your programmers simultaneously, saving both development and deployment costs. You can also use it as a substitute for C while implementing low-level tasks, in place of Java to make large applications, or as an alternative to Ruby to develop quick scripts, aiming for all-round productivity.
This practical guide will walk you through getting work done with D from writing your first program to writing advanced auto-generated objects, with notes based on real-world experiences telling you about potential pitfalls and how to avoid them.
You will work on code with an eye for efficiency and generic code suitable for reuse across a variety of tasks, including the use of domain-specific languages embedded in D.
You will master practical tasks with the D standard library, from converting types to and from strings, network programming and message digest algorithms, through to writing your own generator objects and algorithms that will seamlessly and efficiently extend the standard library with the revolutionary range idiom.
You'll cover resource management techniques, including how to use the garbage collector efficiently, and how to avoid it when necessary by performance or environmental constraints. You'll get D working on a variety of platforms, including Windows, Linux, console, GUI, and the Web. You will also be working with C, C++, other scripting languages, and would also be building a D program that can be booted up without an operating system.
Lastly, you'll use some of the third-party libraries available for D to get code working fast, including access to database engines, image processing, and more.
Product Description:
A recipepacked reference guide filled with practical tasks that are concisely explained to develop and broaden the user's abilities with the D programming language. 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.
"About this title" may belong to another edition of this title.