caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: David MENTRE <dmentre@linux-france.org>
To: William Chesters <williamc@paneris.org>
Cc: caml-list@inria.fr
Subject: About ASN.1 and network encoding (was: Re: [Caml-list] extending a type with Marshal)
Date: Sun, 12 Oct 2003 21:45:09 +0200	[thread overview]
Message-ID: <87u16e2qbe.fsf_-_@linux-france.org> (raw)
In-Reply-To: <16265.6260.517524.854828@beertje.william.bogus> (William Chesters's message of "Sun, 12 Oct 2003 10:01:40 +0100")

Hello,

William Chesters <williamc@paneris.org> writes:

>    In summary my feeling is that unless ASN.1 is mandated for a
> certiain application it's best avoided because it creates problems
> of complexity and over-engineering without actually offering
> very much.

As a side note, for our own project which needs a client/server encoding
convention, I have decided to use XDR. It has some nice properties of
ASN.1: standardized (see corresponding IETF RFC); declarative message
description; automatic generation of encoder/decoder from/to OCaml data
structures. All of that without ASN.1's weight.

For OCaml, Gerd Stolpman has written a very nice XDR generator in his
RPC package.

Yours,
david
-- 
 David Mentré <dmentre@linux-france.org>
   http://www.linux-france.org/~dmentre/david-mentre-public-key.asc
 GnuPG key fingerprint: A7CD 7357 3EC4 1163 745B  7FD3 FB3E AD7C 2A18 BE9E

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


      parent reply	other threads:[~2003-10-12 19:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-08 21:22 [Caml-list] extending a type with Marshal Ker Lutyn
2003-10-08 21:38 ` Richard Jones
2003-10-08 21:54 ` Peter Jolly
2003-10-10  8:37 ` skaller
2003-10-10  9:19 ` Christian Rinderknecht
2003-10-10 10:38   ` skaller
2003-10-10 17:19   ` Martin Berger
2003-10-12  9:01   ` William Chesters
2003-10-12  9:06     ` William Chesters
2003-10-12 19:45     ` David MENTRE [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=87u16e2qbe.fsf_-_@linux-france.org \
    --to=dmentre@linux-france.org \
    --cc=caml-list@inria.fr \
    --cc=williamc@paneris.org \
    /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).