Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] extending a type with Marshal
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David MENTRE <dmentre@l...>
Subject: About ASN.1 and network encoding (was: Re: [Caml-list] extending a type with Marshal)
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