Archive
Cracking the Coding Interview
http://blog.geekli.st/post/34361344887/how-to-crack-the-toughest-coding-interviews-by-gayle
Amazon.com’s #1 best-selling interview book
The Architecture of Open Source Applications
http://www.aosabook.org/en/index.html
“In these two books, the authors of four dozen open source applications explain how their software is structured, and why. What are each program’s major components? How do they interact? And what did their builders learn during their development? In answering these questions, the contributors to these books provide unique insights into how they think.
If you are a junior developer, and want to learn how your more experienced colleagues think, these books are the place to start. If you are an intermediate or senior developer, and want to see how your peers have solved hard design problems, these books can help you too.“
List of freely available programming books
The Debian GNU/Linux Desktop Survival Guide
“The Debian GNU/Linux Desktop Survival Guide covers many topics. This is an ongoing work and the varying depth of coverage of different topics indicates this! The book is organised alphabetically over very many separate HTML pages. The top level topics are listed below. A PDF version, as a single document (over 700 pages) is available from Togaware.” (source)
Table of contents:
Getting started with the D programming language
“Ignore all the people who tell you it can’t be done. Telling you it can’t be done means you’re on the right track.” (Walter Bright, creator of D)
New year, new language to learn :) I heard about D some years ago but I forgot about it. Last weekend I was browsing some computer books in the library when I found The D Programming Language by Andrei Alexandrescu. “Wow, I heard about it…” I read the preface and I decided to dive into it. So in the future I plan to make some posts about D.
Installation
D has two versions, D1 (which is old), and the new D2 (which is recommended for new projects). Visit the page http://www.digitalmars.com/d/download.html and download the package that is suitable for your platform. There is a .deb package for Ubuntu, a Windows installer, etc.
Hello, World!
To try D, let’s start with the classis example (hello.d):
import std.stdio;
int main()
{
writeln("Hello, World!");
return 0;
}
Compile it:
dmd hello.d
It will produce an executable (hello) that you can run with ./hello.
Hello, World! as a script
It is also possible to write “scripts” in D. Just add the shebang line to the beginning of the source:
#!/usr/bin/rdmd
import std.stdio;
int main()
{
writeln("Hello, World!");
return 0;
}
Notice that this time rdmd is used instead of dmd! Make the source file hello.d executable (chmod u+x hello.d) and launch it with ./hello.d. The source will be compiled and the produced binary file will be cached. If you launch hello.d again, the source won’t be compiled again unless you modified it.
Compilers
Digital Mars D compiler
Based on the Digital Mars compiler suite. I showed its installation above.
Gnu D compiler
Based on the Gnu compiler collection.
sudo apt-get install gdc
LDC compiler
Based on the LLVM compiler.
sudo apt-get install ldc
LDC doesn’t support D2 or Phobos, but D1/Tango.
Recommended books
The author of D
Walter Bright is the guy who designed the D programming language. Check out his home page where you can learn more about D.
Here is an interview with him.
Links
- http://www.digitalmars.com/d/index.html, the HQ
- Phobos Runtime Library
- mailing lists
- comprehensive link collection at the HQ
- http://d-programming-language.org/index.html (site index)
- http://www.dprogramming.com/
- http://www.prowiki.org/wiki4d/wiki.cgi?DocComments/Intro, wiki
Opinions / Discussions
- D on wikipedia
- D on reddit
- Experiences with D-programming-language @ SO
- D Programming Language in the real world? @ SO
- Does the D programming language have a future? @ SO
- The D Programming Language for Game Development @ SO
- An IDE for D @ SO
Blogs

