* RE: [Caml-list] Foreign function interface generator with example s
@ 2001-04-23 10:32 Dave Berry
2001-04-24 2:44 ` David Fox
0 siblings, 1 reply; 2+ messages in thread
From: Dave Berry @ 2001-04-23 10:32 UTC (permalink / raw)
To: jeanmarc.eber, David Fox; +Cc: caml-list
Curiousity impels me to ask: How does David's system compare with CamlIDL?
Is there a need for an FFI interface at a lower-level than CamlIDL? I'm
interested because I've worked on FFIs for ML in the past, and we gradually
moved more and more towards IDL-based solutions. So I'd be interested to
hear what limitations people see with this approach (or with the particular
CamlIDL implementation, as I hope to use that some day).
Dave.
-----Original Message-----
From: jeanmarc.eber@lexifi.com [mailto:jeanmarc.eber@lexifi.com]
Sent: Friday, April 20, 2001 10:37
I think that an *easy* FFI (you call it "out of the box") is one of the
most important stuff to do for Ocaml. Most of us know that there aren't
any *impossibilities* (more or less anything *can* be done, but you have
to use exactly the correct macros etc...), but its not .... yes, say
"out of the box".
-------------------
To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] Foreign function interface generator with example s
2001-04-23 10:32 [Caml-list] Foreign function interface generator with example s Dave Berry
@ 2001-04-24 2:44 ` David Fox
0 siblings, 0 replies; 2+ messages in thread
From: David Fox @ 2001-04-24 2:44 UTC (permalink / raw)
To: Dave Berry; +Cc: jeanmarc.eber, David Fox, caml-list
I was not aware of CamlIDL, or even of IDL itself until just now. The
major difference I can see from a quick look at the docs is that the
IDL system converts ML data structures into C data structures and back
again for every function invocation. Mine simply allocates a string
of the appropriate size for each structure and leaves it in there.
Dave Berry <dave@kal.com> writes:
> Curiousity impels me to ask: How does David's system compare with CamlIDL?
> Is there a need for an FFI interface at a lower-level than CamlIDL? I'm
> interested because I've worked on FFIs for ML in the past, and we gradually
> moved more and more towards IDL-based solutions. So I'd be interested to
> hear what limitations people see with this approach (or with the particular
> CamlIDL implementation, as I hope to use that some day).
>
> Dave.
>
>
> -----Original Message-----
> From: jeanmarc.eber@lexifi.com [mailto:jeanmarc.eber@lexifi.com]
> Sent: Friday, April 20, 2001 10:37
>
> I think that an *easy* FFI (you call it "out of the box") is one of the
> most important stuff to do for Ocaml. Most of us know that there aren't
> any *impossibilities* (more or less anything *can* be done, but you have
> to use exactly the correct macros etc...), but its not .... yes, say
> "out of the box".
-------------------
To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-04-24 2:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-23 10:32 [Caml-list] Foreign function interface generator with example s Dave Berry
2001-04-24 2:44 ` David Fox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox