caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Damien Doligez <damien.doligez@inria.fr>
To: "Richard W.M. Jones" <rich@annexia.org>
Cc: Mark Shinwell <mshinwell@janestreet.com>,
	 Francois Berenger <francois.berenger@inria.fr>,
	"caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: [Caml-list] OCaml release roadmap
Date: Thu, 4 Jun 2015 16:34:53 -0400	[thread overview]
Message-ID: <CALGm1VhoikW05FxZCbxYRGgooa2NCKFRDUsQjn_rFwZr0pPEdg@mail.gmail.com> (raw)
In-Reply-To: <20150526171344.GA4073@annexia.org>

On Tue, May 26, 2015 at 1:13 PM, Richard W.M. Jones <rich@annexia.org> wrote:

> Will there be implications for C bindings?  We have rather a lot ...

There will be implications, the most obvious being that the `Field`
macro will stop being an l-value so you'll have to rewrite your uses
of caml_modify and caml_initialize:

  caml_modify(&Field(v, idx), w) => caml_modify_field(v, idx, w)
  caml_initialize(&Field(v, idx, w) => caml_initialize_field(v, idx, w)

See https://github.com/ocaml/ocaml/pull/120 for more details.

I'm sure there will be other changes needed to accomodate multicore.

But we are planning to keep the sequential runtime alongside the
parallel one, at least for some time, so if you're not in a hurry to
use multicore, you'll have plenty of time to update your bindings.

-- Damien

  reply	other threads:[~2015-06-04 20:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-06 17:24 Damien Doligez
2015-05-11 11:46 ` Francois Berenger
2015-05-11 13:31   ` Mark Shinwell
2015-05-11 13:31     ` Mark Shinwell
2015-05-26 17:13     ` Richard W.M. Jones
2015-06-04 20:34       ` Damien Doligez [this message]
2015-05-13 13:20 ` Jonas Jensen
2015-05-14 20:51   ` Damien Doligez
2015-05-14 21:20     ` Gabriel Scherer

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=CALGm1VhoikW05FxZCbxYRGgooa2NCKFRDUsQjn_rFwZr0pPEdg@mail.gmail.com \
    --to=damien.doligez@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=francois.berenger@inria.fr \
    --cc=mshinwell@janestreet.com \
    --cc=rich@annexia.org \
    /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).