>>  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


-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to