Ask HN: What do you think of the D language?
I'm toying with the idea of giving a chance to a statically typed language after 6-7 years of working happily for fun and profit with dynamic languages (mostly Python with a bit of Javascript lately). I recently (re)discovered the D language after reading an interview of Andrei Alexandrescu, a long time C++ guru that has moved to D. Despite that the language has many and powerful features (http://www.digitalmars.com/d/2.0/comparison.html), it doesn't seem to get much airtime compared to other hip languages du jour (Clojure, Scala, Go, Erlang, ...). One barrier for adoption is that it doesn't piggyback on the JVM or .NET for getting free access to the gazillion libraries already out there for these platforms. Do you think this is the main reason it is less well-known and considered for new projects or there are more serious issues ? Do you have first-hand experience with it and if yes, do you think it is it worth spending time to learn compared to other statically typed languages ?
6 comments
[ 2.8 ms ] story [ 28.1 ms ] threadWhen I first went from C++ to D I was very sceptical about it using garbage collection, but accepted it since you're not forced to use it. (I thought R-value references had to be the ultimate solution.) But now I'm quite sold on it. I think it manages memory in a more elegant way than R-value references and reference-counting do, and you can get closures and efficient strings and arrays for free.