Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jake Donham <jake@donham.org>
To: Jeffrey Barber <jeff@mathgladiator.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] node.ocaml
Date: Mon, 23 Aug 2010 14:31:41 -0700	[thread overview]
Message-ID: <AANLkTi=74w783=5XXnLGQivBkd=W8hrAte6W3q8rQ=FP@mail.gmail.com> (raw)
In-Reply-To: <AANLkTinRDkL+Bk+6CB+zSONqq5+LFk31sFRUuSmH9t22@mail.gmail.com>

On Sat, Aug 21, 2010 at 8:27 PM, Jeffrey Barber <jeff@mathgladiator.com> wrote:
> example code:
> http://github.com/mathgladiator/node.ocaml/blob/master/test/kvp.ml

Have you considered using Lwt (http://ocsigen.org/lwt) as a layer on
top of raw continuation-passing style? It has a lot of nice functions
for writing asynchronous code, as well as a syntax extension to make
it look more like direct-style code. It provides a select loop
already, but you don't need to use it, or you could integrate
libevent2 with Lwt's event loop.

Jake


  reply	other threads:[~2010-08-23 21:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-22  3:27 node.ocaml Jeffrey Barber
2010-08-23 21:31 ` Jake Donham [this message]
2010-08-23 22:32   ` [Caml-list] node.ocaml Jeffrey Barber
2010-08-23 23:29 ` Gerd Stolpmann

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='AANLkTi=74w783=5XXnLGQivBkd=W8hrAte6W3q8rQ=FP@mail.gmail.com' \
    --to=jake@donham.org \
    --cc=caml-list@inria.fr \
    --cc=jeff@mathgladiator.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