Version française
Home     About     Download     Resources     Contact us    
Browse thread
Comparison of OCaml and MLton for numerics
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Erik de Castro Lopo <mle+ocaml@m...>
Subject: Re: [Caml-list] Comparison of OCaml and MLton for numerics
Yaron Minsky wrote:

> I could not agree with this sentiment more.  Stephen actually now works at
> Jane Street, and since his arrival he's taught us a  number of techniques
> for using modules and functors to organize and factor code more
> effectively.  Some of these techniques were obviously born in the context of
> Mlton, where they have no performance penalty.  It's downright annoying to
> have to avoid these techniques in performance-sensitive code in OCaml.  In
> other words, factoring out with functors and modules is good style, but
> OCaml penalizes you for it.

Can the defunctorizor help?

    http://www.lri.fr/~signoles/ocamldefun/manual.html

Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"He who writes the code gets to choose his license, and nobody
else gets to complain" -- Linus Torvalds