caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jeremy Yallop <yallop@gmail.com>
To: sp@orbitalfox.com
Cc: ctypes <ctypes@lists.ocaml.org>, Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] ANN: ocaml-ctypes 0.5.0, a library for calling C functions directly from OCaml
Date: Tue, 22 Mar 2016 11:08:15 +0000	[thread overview]
Message-ID: <CAAxsn=HJ5C7Kh82YnmG9Eh-j0e-Cy1wdcV98YwGBf+Xm_mU+Yg@mail.gmail.com> (raw)
In-Reply-To: <20160322101257.GB29459@Razor>

On 22 March 2016 at 10:12,  <sp@orbitalfox.com> wrote:
> On Mon, Mar 21, 2016 at 07:42:05PM +0000, Jeremy Yallop wrote:
>> I'm pleased to announce release 0.5.0 of ocaml-ctypes, which is now
>> available on OPAM.
>
> Great work, thank you!
>
> Are there areny plans to support C++ in a similar approach?

It'd be possible to support some of C++ fairly straightforwardly.  For
example, binding overloaded functions should work with the current
ctypes release if you use stub generation (i.e. the Cstubs module),
and calling function templates will probably work too.  It'd be a bit
more work to support exceptions and member functions, but it could
probably be done.  C++ support is not currently high up on the
priority list, but I'd be happy to help out if someone wanted to start
looking at a design.

  reply	other threads:[~2016-03-22 11:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-21 19:42 Jeremy Yallop
2016-03-22 10:12 ` sp
2016-03-22 11:08   ` Jeremy Yallop [this message]
2016-03-22 10:20 ` Goswin von Brederlow
2016-03-22 11:11   ` Jeremy Yallop
2016-03-22 15:00     ` Gabriel Scherer
2016-03-22 15:07       ` Jeremy Yallop

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='CAAxsn=HJ5C7Kh82YnmG9Eh-j0e-Cy1wdcV98YwGBf+Xm_mU+Yg@mail.gmail.com' \
    --to=yallop@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=ctypes@lists.ocaml.org \
    --cc=sp@orbitalfox.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;
as well as URLs for NNTP newsgroup(s).