caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "atkinson julian" <julian.atkinson71@gmail.com>
To: caml-list@yquem.inria.fr
Subject: newbie ocaml and delimited continuations
Date: Fri, 11 Jul 2008 22:15:39 +0000	[thread overview]
Message-ID: <acae2d990807111515mfbe30c5hd5688855049b0e1d@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1514 bytes --]

hello all,

I am a newbie currently learning ocaml and am particularly interested in the
new continuations package.

there is announcement here - which include a tarball source patch.
(Persistent twice-delimited continuations and CGI programming)
http://groups.google.co.uk/group/fa.caml/browse_thread/thread/cac8628ae8ef191d

The value of continuations and coroutines are that they make it trivial to
map asynchronous operations to synchronous programming models , they have
general application in network stacks/ generators and simulation models. (ie
the benefit of threads without the locking and context switching cost). My
questions are as follows.

Is it likely that this package may be incorporated into a later official
relase of ocaml (ie receive first class support ) ?. continuations would
appear to offer considerable programming expressiveness even if not widely
supported in other languages (cf scheme).

And a very basic tech question - It is obviously necessary that the package
runs as interpreted bytecode - so that the activation record of the
function/closure may be saved/serialized off. However, in general is it
possible to mix and match ocaml code compiled with the native opt compiler,
with compiled bytecode ? Additionally would there be any caveats in trying
to do this using this continuations package. Note that i have not yet got to
functor/modules in my self-learning where i suspect the general aspect of
this question would be explained but am trying to ancipate a bit in advance.

[-- Attachment #2: Type: text/html, Size: 1663 bytes --]

             reply	other threads:[~2008-07-11 22:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-11 22:15 atkinson julian [this message]
2008-07-23  3:51 oleg

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=acae2d990807111515mfbe30c5hd5688855049b0e1d@mail.gmail.com \
    --to=julian.atkinson71@gmail.com \
    --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).