From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id D72BD7EEF6 for ; Thu, 4 Jun 2015 22:34:55 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.13,554,1427752800"; d="scan'208";a="134546411" Received: from mail-yk0-f175.google.com ([209.85.160.175]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 04 Jun 2015 22:34:55 +0200 Received: by yked142 with SMTP id d142so17937697yke.3; Thu, 04 Jun 2015 13:34:53 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.236.206.38 with SMTP id k26mr42918996yho.114.1433450093985; Thu, 04 Jun 2015 13:34:53 -0700 (PDT) Received: by 10.37.215.83 with HTTP; Thu, 4 Jun 2015 13:34:53 -0700 (PDT) In-Reply-To: <20150526171344.GA4073@annexia.org> References: <555096AB.9090208@inria.fr> <20150526171344.GA4073@annexia.org> Date: Thu, 4 Jun 2015 16:34:53 -0400 Message-ID: From: Damien Doligez To: "Richard W.M. Jones" Cc: Mark Shinwell , Francois Berenger , "caml-list@inria.fr" Content-Type: text/plain; charset=UTF-8 Subject: Re: [Caml-list] OCaml release roadmap On Tue, May 26, 2015 at 1:13 PM, Richard W.M. Jones 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