From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 034B6BBCD for ; Thu, 20 Mar 2008 22:42:16 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8AAEN34kfU436rmWdsb2JhbACBWo8qAQEBAQEIBQcJFpodAQ X-IronPort-AV: E=Sophos;i="4.25,533,1199660400"; d="scan'208";a="24016205" Received: from moutng.kundenserver.de ([212.227.126.171]) by mail4-smtp-sop.national.inria.fr with ESMTP; 20 Mar 2008 22:42:16 +0100 Received: from gate.lan.gerd-stolpmann.de (dslb-088-068-198-114.pools.arcor-ip.net [88.68.198.114]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1JcSWd2yhB-0003Ua; Thu, 20 Mar 2008 22:42:16 +0100 Received: from [192.168.0.32] (fw.lan.gerd-stolpmann.de [192.168.1.1]) by gate.lan.gerd-stolpmann.de (Postfix) with ESMTP id 5A670C113; Thu, 20 Mar 2008 22:42:15 +0100 (CET) Subject: Re: [Caml-list] Long-term storage of values From: Gerd Stolpmann To: Dario Teixeira Cc: caml-list@yquem.inria.fr In-Reply-To: <606612.52588.qm@web54602.mail.re2.yahoo.com> References: <606612.52588.qm@web54602.mail.re2.yahoo.com> Content-Type: text/plain Date: Thu, 20 Mar 2008 22:43:06 +0100 Message-Id: <1206049386.3295.18.camel@flake.lan.gerd-stolpmann.de> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/ltSS1VugDtw5I4mdvQTzXpO6QUqeeKv11+9W KMg6PZljzu+7D1jsqO0Btnzsll5sMr7CrjLKIhckcfcmsPWxxN JUg7SVaBu4BG83R4NSmN0UMJ/zMoQ7W X-Spam: no; 0.00; gerd:01 stolpmann:01 donnerstag:01 ocaml:01 ocaml:01 ocamlnet:01 gerd:01 stolpmann:01 viktoriastr:01 64293:01 darmstadt:01 6151:01 6151:01 caml-list:01 functions:01 Am Donnerstag, den 20.03.2008, 21:03 +0000 schrieb Dario Teixeira: > Hi, > > Some weeks ago I asked in the list about solutions for the long-term > storage of values in Ocaml. > - XDR. Though I have fond memories of using XDR with C (in a > different life), I have no experience with it in Ocaml. > Though it should be very fast, you also need to manually > create the (de)serialising functions. No, there is a generator for that in Ocamlnet. ocamlrpcgen can be used to generate these functions. Gerd -- ------------------------------------------------------------ Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de Phone: +49-6151-153855 Fax: +49-6151-997714 ------------------------------------------------------------