From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id B5FEC7FF9F for ; Tue, 8 Mar 2016 10:41:46 +0100 (CET) X-IronPort-AV: E=Sophos;i="5.22,556,1449529200"; d="scan'208";a="167588040" Received: from meleze.ens.fr (HELO [129.199.99.114]) ([129.199.99.114]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 08 Mar 2016 10:41:46 +0100 To: caml-list@inria.fr References: From: Francois Berenger Message-ID: <56DE9E5A.2060601@inria.fr> Date: Tue, 8 Mar 2016 10:41:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] Question about Lwt/Async On 03/07/2016 06:03 PM, Yaron Minsky wrote: > This is definitely a fraught topic, and it's unfortunate that there's > no clear solution. > > To add a bit more information: > > - Async is more portable than it once was. There's now Core_kernel, > Async_kernel and Async_rpc_kernel, which allows us to do things like > run Async applications in the browser. I would think Windows > support would be pretty doable by someone who understands that world > well. Just for information: with the ZeroMQ bindings that are in opam (package zmq), it is possible to do synchronous and/or asynchronous distributed programming in OCaml. That's not exactly RPC, but with some translation layer you can do some kind of RPC. However, unlike async, zmq is not a pure OCaml library so that's not as portable. You need the right version of the ZeroMQ C++ library to be installed. But, the good news, some asynchronous programming can be done in OCaml without pulling in neither async nor lwt. :) -- Regards, Francois. "When in doubt, use more types"