Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] OT: Java Performance
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Chet Murthy <chet@w...>
Subject: Re: [Caml-list] comparison with C performance

Hmmm .. Lex, are you aware of Ensemble?

Mark Hayden basically proved that if you properly manage memory and a
few other things, well, you can be faster than C, unless the C program
is (ahem) trivial.

some more details: Mark showed that for a rather complicated network
protocol stack, a CAML implementation was a *lot* faster than a
highly-optimized C implementation.

The key things he was able to do were:

  (a) since its in ML, you can be a lot more aggressive about

  (b) effective memory-management of buffers in ML -- don't just leave
  it to the GC

  (c) serious reliance on the inliner

There were a few other things, but this is a good start.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: