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
Long-term storage of values
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-03-21 (14:37)
From: Dario Teixeira <darioteixeira@y...>
Subject: Re: [Caml-list] Long-term storage of values
> No, there is a generator for that in Ocamlnet. ocamlrpcgen can be used
> to generate these functions.


If I remember correctly, the model with XDR+rpcgen is that the data type
is defined in a special XDR notation, which ocamlrpcgen will then use to
generate the Ocaml type and the (de)serialisation functions.  Though XDR
offers a fairly rich type set, it's not quite as versatile as Ocaml's.
I just wonder if this will lead to situations where one would rather
write the (de)serialisation functions by hand instead of relying on
the poorer expressiveness of the automatic generators.

Btw, do you have any numbers concerning XDR performance?  My guess
is that this would be the fastest method after Marshalling.


Sent from Yahoo! Mail.
More Ways to Keep in Touch.