caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Milan Stanojević" <milanst@gmail.com>
To: Gerd Stolpmann <info@gerd-stolpmann.de>
Cc: yminsky@gmail.com, caml-list@inria.fr
Subject: Re: [Caml-list] [ANN] Async, a monadic concurrency library
Date: Thu, 27 Oct 2011 13:36:42 -0400	[thread overview]
Message-ID: <CAKR7PS9Z86WEFaveURvEposEPKDfqx=Tvt04xM6S61SS54S+vQ@mail.gmail.com> (raw)
In-Reply-To: <1319632284.18639.181.camel@thinkpad>

>>  But I think we had good reasons for creating Async.  As I said in my
>> blog post, the differences in error-handling and interleaving policy
>> were enough that we really felt we needed a different library.
>
> In deed this is interesting. Equeue also follows Lwt's idea not to
> interleave when possible, simply for performance reasons. You can,

Did you mean to say "Lwt interleaves when possible"?

For example

let foo () =
    let r = x >>= bar in
    ....
     r

in Async [bar] will run only after [foo] has completed (therefore
there is no interleaving between [foo] and [bar]), while in Lwt [bar]
can run in the middle of [foo] so there is an interleaving


  reply	other threads:[~2011-10-27 17:36 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-26  0:32 Yaron Minsky
2011-10-26  5:31 ` Cedric Cellier
2011-10-26 10:40   ` Yaron Minsky
2011-10-26  7:33 ` Gerd Stolpmann
2011-10-26 10:57   ` Yaron Minsky
2011-10-26 11:18     ` rixed
2011-10-26 11:34       ` Yaron Minsky
2011-10-26 12:49         ` Jérémie Dimino
2011-10-26 12:31     ` Gerd Stolpmann
2011-10-27 17:36       ` Milan Stanojević [this message]
2011-10-27 18:34         ` Gerd Stolpmann
2011-10-27 19:10           ` Milan Stanojević
2011-10-28  7:29             ` Gerd Stolpmann
2011-10-26  8:07 ` Jérémie Dimino
2011-10-26 11:03   ` Yaron Minsky
2011-10-26 11:06     ` Mark Shinwell
2011-10-26 11:20       ` Anil Madhavapeddy
2011-10-26 11:37         ` Mark Shinwell
2011-10-29  0:52       ` oliver
2011-10-31  9:12         ` Mark Shinwell

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='CAKR7PS9Z86WEFaveURvEposEPKDfqx=Tvt04xM6S61SS54S+vQ@mail.gmail.com' \
    --to=milanst@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=info@gerd-stolpmann.de \
    --cc=yminsky@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).