Browse thread
Is OCaml fast?
-
Thanassis Tsiodras
- Gregory Bellier
- Sylvain Le Gall
- Dario Teixeira
- Gerd Stolpmann
- Fabrice Le Fessant
- Oliver Bandel
- Isaac Gouy
- David Allsopp
- Cedric Cellier
- Vincent Aravantinos
- Isaac Gouy
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2010-11-23 (02:15) |
From: | Isaac Gouy <igouy2@y...> |
Subject: | Re: Is OCaml fast? |
bluestorm <bluestorm.dylc <at> gmail.com> writes: -snip- > With appropriate GC parameters, the very same OCaml program is exactly as fast as C. > > > http://shootout.alioth.debian.org/u32/performance.php?test=binarytrees > > « Note: these programs are being measured with the default initial heap size - the measurements may be very different with a larger initial heap size or GC tuning. » > > > C version : 12.11 secs > OCaml version : 47.22 secs > OCaml version with GC parameters tuned ("interesting alternative" section) : 12.67 secs And of course you know because that GC tuned OCaml program is shown on the benchmarks game website ;-) http://shootout.alioth.debian.org/u32/program.php?test=binarytrees&lang=ocaml&id=1