From: Jon Harrop <jon@ffconsultancy.com>
To: Dave Benjamin <dave@ramenlabs.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Easier FFI
Date: Fri, 21 Dec 2007 03:54:15 +0000 [thread overview]
Message-ID: <200712210354.15315.jon@ffconsultancy.com> (raw)
In-Reply-To: <476B34E5.2060108@ramenlabs.com>
On Friday 21 December 2007 03:37, Dave Benjamin wrote:
> I would love something like this. I've used "ctypes", a similar library
> for Python, a few times, and it has really come in handy. Not something
> I want to use often (at least not directly), but for those times when
> use of an unsupported C library is necessary, it's so nice to have the
> ability to stay within the language rather than writing a bunch of
> wrapper code. I wonder if something like ctypes would translate well to
> a statically typed language like OCaml.
>
> http://starship.python.net/crew/theller/ctypes/
Absolutely, that's exactly the kind of thing I'm talking about. Basically just
a glorified C interpreter as a fallback to make unsafe interop as easy as
possible.
--
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/products/?e
next prev parent reply other threads:[~2007-12-21 4:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-20 16:39 Jon Harrop
2007-12-21 3:37 ` [Caml-list] " Dave Benjamin
2007-12-21 3:54 ` Jon Harrop [this message]
2007-12-21 11:20 ` Richard Jones
2008-02-01 17:13 ` Alan Falloon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200712210354.15315.jon@ffconsultancy.com \
--to=jon@ffconsultancy.com \
--cc=caml-list@inria.fr \
--cc=dave@ramenlabs.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox