Sometimes it's very good to compare implementations of a small program between 
other languages and D (because it can help spot what's bad in D, that later can 
be fixed). You can probably remember the Hamming numbers comparison I have 
shown here time ago (see especially the Haskell version and the second Python 
version):
http://rosettacode.org/wiki/Hamming_numbers#Haskell
No one has written a good D2 implementation yet.

Recently I have found a second example of code that can be useful for such 
comparisons, a little regular expression engine, this is a Python version:
http://paste.lisp.org/display/24849
And a much uglier version in Go:
http://pastie.org/971688

Bye,
bearophile

Reply via email to