Browse thread
Long-term storage of values
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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. Hi, 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. Cheers, Dario __________________________________________________________ Sent from Yahoo! Mail. More Ways to Keep in Touch. http://uk.docs.yahoo.com/nowyoucan.html