caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Peter Zotov <whitequark@whitequark.org>
To: caml-list@inria.fr
Subject: Re: [Caml-list] [ANN] capnp-ocaml 1.0.0
Date: Mon, 07 Jul 2014 19:10:44 +0400	[thread overview]
Message-ID: <25a164c9efba9ae7ceefcb1779aba796@whitequark.org> (raw)
In-Reply-To: <CANk_VLKq3bpH9UGU0OkzhpgdhfwKOQ3JNcjZ6-Wk5TNeNavfDw@mail.gmail.com>

On 2014-07-07 17:46, Paul Pelzl wrote:
> Q: Why would I want to use this over Protocol Buffers?
> 
> A: Cap'n Proto has the clear advantage of first-class sum types, which
> are mapped to OCaml variants in a straightforward fashion. You also
> find yourself intrigued by the potential for better performance and
> zero-overhead shared-memory message passing.

I want to note that ppx_protobuf provides an efficient mapping for
OCaml's sum types, which would map to most well-designed protocols
naturally.

   https://github.com/whitequark/ppx_protobuf#variants

-- 
Peter Zotov
sip:whitequark@sipnet.ru


      reply	other threads:[~2014-07-07 15:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-07 13:46 Paul Pelzl
2014-07-07 15:10 ` Peter Zotov [this message]

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=25a164c9efba9ae7ceefcb1779aba796@whitequark.org \
    --to=whitequark@whitequark.org \
    --cc=caml-list@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).