Sunday 20 January 2013

D

I read an article about functional programming in C++ by John Carmack (of Doom fame) last week and while it did little to warm me to C++ the article was very interesting and covered the the virtues of immutability and pure functions as they can be applied by anyone in almost any language.
http://www.altdevblogaday.com/2012/04/26/functional-programming-in-c/

In the article John mentions a programming language called D, so having enjoyed the article I took the time to check it out.

There was a lot to like about D: It has 'immutable' and 'pure' keywords, anonymous functions and closures, a garbage collector, built in tools for concurrency, unit testing, contract coding (pre and post conditions, etc). It also compiles to native code and can introp with C and extend Python (Pyd: http://pyd.dsource.org/index.html)

I'm liking a lot of what I'm seeing about D ... More posts on D to come.

No comments:

Post a Comment