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=AWL 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 46602BBCA for ; Fri, 29 Feb 2008 00:42:27 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAFrVxkfa1uFinmdsb2JhbACQcAEBAQEBBgQGBwoYnUAE X-IronPort-AV: E=Sophos;i="4.25,422,1199660400"; d="scan'208";a="23185091" Received: from smtp.syd.people.net.au ([218.214.225.98]) by mail4-smtp-sop.national.inria.fr with SMTP; 29 Feb 2008 00:42:25 +0100 Received: (qmail 3436 invoked from network); 28 Feb 2008 23:42:26 -0000 Received: from unknown (HELO hendrix.mega-nerd.net) (218.214.64.136) by smtp.syd.people.net.au with SMTP; 28 Feb 2008 23:42:26 -0000 Received: from hendrix (hendrix [192.168.200.99]) by hendrix.mega-nerd.net (Postfix) with SMTP id A61AAAB260 for ; Fri, 29 Feb 2008 10:42:16 +1100 (EST) Date: Fri, 29 Feb 2008 10:42:15 +1100 From: Erik de Castro Lopo To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Long-term storage of values Message-Id: <20080229104215.c94a3715.mle+ocaml@mega-nerd.com> In-Reply-To: <191751.36007.qm@web54607.mail.re2.yahoo.com> References: <191751.36007.qm@web54607.mail.re2.yahoo.com> Reply-To: caml-list@yquem.inria.fr Organization: Erik Conspiracy Secret Labs X-Mailer: Sylpheed 2.4.5 (GTK+ 2.12.0; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; ocaml:01 cheers:01 comedy:98 gimmicks:98 wrote:01 caml-list:01 revenues:97 slightly:03 gnutella:04 erik:04 erik:04 marshalled:04 marshalled:04 problem:05 long:06 Dario Teixeira wrote: > This works fine; there is however one nagging problem: the marshalled > representation is brittle. If Story.t changes even slightly, I will > no longer be able to retrieve values marshalled with the old version. Is XDR a solution? Its part of libocamlnet-ocaml. Its come up on this mailing list a couple of times and I have a little snippet of code if you want it. Cheers, Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "The RIAA is obsessed to the point of comedy with the frustration of having its rules broken, without considering whether such rules might be standing in the way of increased revenues. Indeed, Napster and Gnutella may turn out to be the two best music-marketing gimmicks yet devised, if only the RIAA would take its head out of its ass long enough to realise it." -- Thomas C Greene on www.theregister.co.uk