English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
A nastier example
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-05-16 (11:40)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] A nastier example
On May 16, 2005, at 02:15, Jon Harrop wrote:

> Very interesting. In summary, is it fair to say that Marshall has 
> problems
> with functions when used in the top-level but not with ocamlc- and 
> ocamlopt-
> compiled code?

Yes, although it is a very small problem: it would pretty hard for the
average programmer to guarantee that the same function is compiled at
the same address in the top-level that unmarshals the closure.

So the usefulness of marshaling closures from the top-level would be
rather small.

-- Damien