An interesting post: http://www.reddit.com/r/programming/comments/28mp3m/ the_magic_forest_problem_revisited_optimising/ The author uses D as a sort of lingua franca to examine various solutions to a classic problem.