Hi, > > The C translation is attached for your amusement. and here is a mlton version. The test runs on a Pentium-M. compile flags: gcc -march=pentium-m -O2 -o nbody-gcc nbody.c mlton -cc-opt -ffast-math -output nbody-mlton nbody.sml ocamlopt -ccopt -ffast-math -inline 3 -unsafe -o nbody-ocaml nbody.ml nbody gcc ocaml mlton 1000 0.000 0.000 0.000 10000 0.014 0.019 0.024 100000 0.070 0.301 0.239 200000 0.231 0.621 0.478 500000 0.552 1.556 1.189 1000000 1.123 3.112 2.377 2000000 2.246 6.229 4.704 3000000 3.367 9.286 8.865 4000000 4.457 12.501 9.687 Christoph Bauer