[erlang-questions] Learning Erlang from the scratch

Michael Campbell <>
Fri Aug 31 20:54:43 CEST 2007


On 8/31/07, G Bulmer <> wrote:

> Another idea for exercises - you might take a look at "The Computer
> Language Benchmarks Game" at http://shootout.alioth.debian.org/
> They have a bunch of small benchmarks coded in Java and Erlang (and 30
> + other languages), so you can see how the same algorithm would be
> coded in both languages, or try coding it yourself based on the Java
> code. Who knows, you may come up with a better implementation.

Be careful with that.  Alioth's shootouts are for how quickly a
language can run a particular *algorithm*, which can at times be VERY
DIFFERENT from how you would normally do it in that language.

So some of the code on that will be weirdly contorted to fit the
particular algorithm, rather than what the prevailing idiom is for
that language.

A somewhat more harsh criticism can be found here:
http://yarivsblog.com/articles/2006/07/11/erlang-yaws-vs-ruby-on-rails/#comment-70



More information about the erlang-questions mailing list