caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Michael Nedzelsky <MichaelNedzelsky@yandex.ru>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Saving the OCaml interpreter state
Date: Thu, 12 Apr 2007 16:27:17 +0400	[thread overview]
Message-ID: <200704121627.17616.MichaelNedzelsky@yandex.ru> (raw)
In-Reply-To: <509223F0BF55E74FA1247D17207E7A0C014E5063@orsmsx419.amr.corp.intel.com>

On Wed, 11 Apr 2007 02:08 am, Harrison, John R wrote:
> I think I asked roughly this question several years ago, but I would
> appreciate
>
> a reminder.
>
>
>
> In several read-eval-print loops for functional languages (e.g. Poly,
> SML/NJ,
>
> various LISPs), it's possible to save and restore the current state so
> you can
>
> start up again in an environment with all the same objects and name
> bindings
>
> present. OCaml does not currently allow this. How hard would it be to
> modify
>
> OCaml to support save/restore of sessions? At the moment I'm forced into
>
> OS-specific checkpointing of processes.

A new version of Poly ML also doesn't have the persistent storage system.

<quote>
The persistent storage system that has been a feature of Poly/ML almost since 
the beginning has finally reached its sell-by date and has been removed. In 
its place there is the facility to export ML functions as object files and 
link them to produce stand-alone executables.
</quote>

Michael


  reply	other threads:[~2007-04-12 12:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-10 22:08 Harrison, John R
2007-04-12 12:27 ` Michael Nedzelsky [this message]
2007-04-12 15:53   ` [Caml-list] " Harrison, John R
2007-04-12 18:27     ` Jon Harrop
2007-04-12 23:52       ` Yaron Minsky
2007-04-13 19:07         ` Harrison, John R
2007-04-13 19:38           ` Gerd Stolpmann
2007-04-13 20:27             ` Daniel Bünzli
2007-04-14 11:59           ` Michael Nedzelsky
2007-04-22 10:00 ` Xavier Leroy

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=200704121627.17616.MichaelNedzelsky@yandex.ru \
    --to=michaelnedzelsky@yandex.ru \
    --cc=caml-list@yquem.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).