caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Richard W.M. Jones" <rich@annexia.org>
To: Jean Krivine <jean.krivine@gmail.com>
Cc: Lukasz Stafiniak <lukstafi@gmail.com>, caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] out-of-the-heap 'a arrays ?
Date: Wed, 6 Nov 2013 14:20:48 +0000	[thread overview]
Message-ID: <20131106142048.GC10737@annexia.org> (raw)
In-Reply-To: <CAEQoNCk6wYD5BEMFaq0NCtYsgCVp+Jxbepk=0xwRSBcBh=yyFQ@mail.gmail.com>

On Wed, Nov 06, 2013 at 10:19:42AM +0100, Jean Krivine wrote:
> It seems that Ancient requires the values that are moved to be immutable
> full point. I understand that there is a problem if you have pointers from
> Ancient Heap to Ocaml Heap. But what about pointers that are internal to
> the Ancient Heap ? Am I talking nonsense? Sorry if I do.

You can definitely create pointers between ancient objects.  You
just have to be really careful about what you're doing.

It's not too hard to understand -- I would suggest reading
the implementation.

Rich.

-- 
Richard Jones
Red Hat

  reply	other threads:[~2013-11-06 14:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05 17:07 Jean Krivine
2013-11-05 19:06 ` Lukasz Stafiniak
2013-11-05 19:15   ` Lukasz Stafiniak
2013-11-06  9:19     ` Jean Krivine
2013-11-06 14:20       ` Richard W.M. Jones [this message]
2013-11-06  9:44 ` Francois Berenger
2013-11-06 13:10 ` Gerd Stolpmann
2013-11-06 13:39   ` Jean Krivine
2013-11-06 14:19 ` Richard W.M. Jones

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=20131106142048.GC10737@annexia.org \
    --to=rich@annexia.org \
    --cc=caml-list@inria.fr \
    --cc=jean.krivine@gmail.com \
    --cc=lukstafi@gmail.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).