From: Malcolm Matalka <mmatalka@gmail.com>
To: caml-list@inria.fr
Subject: [Caml-list] Best Practices for binding C libraries
Date: Sat, 09 Jan 2016 22:25:54 +0000 [thread overview]
Message-ID: <86a8oeo0el.fsf@gmail.com> (raw)
I'm doing my first big binding of a C library in Ocaml and I'm wondering
what some of the best practices are. In my case, it's an I/O library
I'm binding and I'm interested in minimizing the overhead because a lot
of data will be shipped back and forth. Right now I'm doing a pretty
straight forward wrapping with Ctypes. Should I be looking into using
Bigstrings? Anything else?
Thanks,
/Malcolm
reply other threads:[~2016-01-09 22:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=86a8oeo0el.fsf@gmail.com \
--to=mmatalka@gmail.com \
--cc=caml-list@inria.fr \
/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