caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: Christophe Raffalli <Christophe.Raffalli@univ-savoie.fr>
Cc: Caml list <caml-list@inria.fr>
Subject: Re: [Caml-list] Exception marshaling
Date: Fri, 2 May 2014 23:58:55 +0200	[thread overview]
Message-ID: <CAPFanBGS_Hb=mqNnY-UDizoLVU2UuApB4_WuvJodghopyGTbhw@mail.gmail.com> (raw)
In-Reply-To: <20140502210731.GB30470@delli7.univ-savoie.fr>

That looks non-trivial to implement (for closures, there is a cache of
static code pointers; no such thing exist for exceptions). You should
add your use-case to the discussion in the relevant PR.
  http://caml.inria.fr/mantis/view.php?id=4978

On Fri, May 2, 2014 at 11:07 PM,  <Christophe.Raffalli@univ-savoie.fr> wrote:
>
> Hello,
>
> From OCaml's manual, exception marshelling does not fully work. Would it be possible to have it works at least with the same restriction
> as closure marshalling (i.e. same binary) ?
>
> This would be useful when using software like parmap, which at the moment does not support exception, probably for this reason.
>
> I did the extension of parmap with exception and felt on the abbve mentioned problem. With parmap, the same binary restriction is fulfilled.
>
> Cheers,
> Christophe

      reply	other threads:[~2014-05-02 21:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-02 21:07 Christophe.Raffalli
2014-05-02 21:58 ` Gabriel Scherer [this message]

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='CAPFanBGS_Hb=mqNnY-UDizoLVU2UuApB4_WuvJodghopyGTbhw@mail.gmail.com' \
    --to=gabriel.scherer@gmail.com \
    --cc=Christophe.Raffalli@univ-savoie.fr \
    --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;
as well as URLs for NNTP newsgroup(s).