Wednesday, December 5, 2007

Tango with D

I have been playing around with D for a while, nothing serious but I am pretty excited about this language. D is better explained as “C++ done right” or perhaps as “Java done right”, but I will just quote Walter Bright, D’s author from here:

Its focus is on combining the power and high performance of C and C++ with the programmer productivity of modern languages like Ruby and Python. … The D language is statically typed and compiles directly to machine code. It is multiparadigm, supporting many programming styles: imperative, object oriented, and metaprogramming. It's a member of the C syntax family.

This post, however, is not about D. Check out Digital Mars site to learn more about it. Here I just want to let you know that APress just published a book about D and its "Tango" library. As far as I know "Tango with D" is the first book about this wonderful language.

If you have not heard about D, you owe it to yourself to look at it. Most C++ programmers will fall in love with it, and I personally hope it will replace C as a dominant language on Linux, especially after seeing it perform well on programming language shootout. Good thing about D is that there are already two implementations of it and one of them is a front end to GCC.

Well... first book is always great, let's hope it will increase the visibility for D. Congratulations to D community!

P.S. My only concern is the name. While "D" sounds awesomly geeky and sufficiently attractive while implying the underlying superiority over C++, this is the absolutely terrible name as far as search engines are concerned. Try googling for "arrays in D" to see what I mean.