Date: Thu, 23 Dec 1999 15:31:35 +0100
From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: Patrick Goldbronn - SYSCO <email@example.com>,
Subject: Re: interfacing ocaml and external structure
In-Reply-To: <385E31DF.155B6751@cea.fr>; from Patrick Goldbronn - SYSCO on Mon, Dec 20, 1999 at 01:40:47PM +0000
> I saw some messages about external structure (such "large array") and
> interfaces with ocaml.
> With the function alloc_final, we can give the free function of the
> external type to GC.
> I think the other interesting feature to use in ocaml is marshalling
> (perhaps there are others).
> Do you think it is possible to give, like the free function, the
> marshall function for an external type ?
Yes, we have some work in progress in this direction. The idea is
to attach to "finalized" blocks a record of C functions, supporting
not only finalization, but also equality test, hashing, marshalling
and unmarshalling. This would be useful not only for large arrays,
but also for other datatypes in the Caml library such as big integers.
- Xavier Leroy
This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:29 MET