Version franaise
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
Is OCaml fast?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-11-23 (21:14)
From: Christophe TROESTLER <Christophe.Troestler+ocaml@u...>
Subject: Re: [Caml-list] Re: Is OCaml fast?
On Tue, 23 Nov 2010 17:53:14 +0000, Isaac Gouy wrote:
> Christophe TROESTLER writes:
> > Since you are here, please explain why C can use memory pools and vec 
> > tor instructions but tuning the GC of OCaml ― although it is part of  
> > the standard library ― is considered an “alternative”.
> [...] You seem to be suggesting some kind of equivalence between vector
> instructions and "tuning the GC".  You haven't said why they should
> be considered equivalent.

I did not say they are equivalent.  It is a matter of what is allowed
(or not) and for what reason.  The question is why is C allowed to use
an external library for managing its memory but — for this specific
benchmark which is precisely about managing memory — OCaml is not
authorized to make use of its very own library!

On Tue, 23 Nov 2010 18:03:10 +0000, Isaac Gouy wrote:
> Note that there is no restriction on "tuning the GC" for regex-dna.
> Note that there is no restriction on "tuning the GC" for any task except
> binary-trees.

Note that you did not answer my question.