Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2003-10-12 (19:45)
From: David MENTRE <dmentre@l...>
Subject: About ASN.1 and network encoding (was: Re: [Caml-list] extending a type with Marshal)

William Chesters <> 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.

 David Mentré <>
 GnuPG key fingerprint: A7CD 7357 3EC4 1163 745B  7FD3 FB3E AD7C 2A18 BE9E

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: