From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 389D7BCAC for ; Fri, 4 Feb 2005 17:42:04 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j14Gg3T2010073 for ; Fri, 4 Feb 2005 17:42:03 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA29743 for ; Fri, 4 Feb 2005 17:42:03 +0100 (MET) Received: from first.in-berlin.de (dialin-145-254-052-111.arcor-ip.net [145.254.52.111]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j14Gg2pk010068 for ; Fri, 4 Feb 2005 17:42:02 +0100 Received: by first.in-berlin.de (Postfix, from userid 501) id AB5E1A7470; Fri, 4 Feb 2005 17:42:02 +0100 (CET) Date: Fri, 4 Feb 2005 17:42:02 +0100 From: Oliver Bandel To: caml-list@inria.fr Subject: Re: [Caml-list] Estimating the size of the ocaml community Message-ID: <20050204164202.GC728@first.in-berlin.de> References: <20050203233950.GB7121@furbychan.cocan.org> <002c01c50a98$84337a00$0100a8c0@mshome.net> <20050204.111102.71086746.oandrieu@nerim.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20050204.111102.71086746.oandrieu@nerim.net> User-Agent: Mutt/1.5.6i X-Miltered: at nez-perce with ID 4203A5DB.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 4203A5DA.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; oliver:01 bandel:01 oliver:01 in-berlin:01 caml-list:01 ocaml:01 andrieu:01 wrote:01 gava:01 wrote:01 ocaml:01 serialize:01 serialize:01 afaik:01 toplevel:01 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.2 X-Spam-Level: On Fri, Feb 04, 2005 at 11:11:02AM +0100, Olivier Andrieu wrote: > > Frédéric Gava [Fri, 4 Feb 2005]: > > > On Fri, Feb 04, 2005 at 12:22:47AM +0100, Thomas Fischbacher > > > wrote: > > > > Oh, by the way, there is one more thing which I consider a > > > > really grave issue, which gave us quite a lot of grey hair > > > > already: Ocaml strings have this stupid limitation to 16 MB, > > > > which means in particular that if you serialize a truly large > > > > intermediate state of, say, a long and complicated calculation > > > > which accidentally got a bit larger than this limit (while you > > > > did not expect that), well... > > > > > > Got to agree with you on this one ... At least we'll soon all be > > > using 64 bit computers where OCaml doesn't suffer this > > > limitation. > > > > > > Rich. > > > Richard Jones, CTO Merjis Ltd. > > > > Also agree with you. This limitation is sometime a problem for > > me. I code a library in Ocaml for parallel computing, thus I always > > serialize values and I could not bench programs which put on the > > networks, very big values. > > AFAIK Marshal.{to,from}_channel isn't limited by the maximum string > length. Some weeks ago I explored the Marshal-Module. While doing some first-steps experiments form within the toplevel, I got a crash with a SegFault. IMHO Marshal-module should be removed from the Stdlib. Or if it is intended to stay, it should be reimplemented, so that it never can crash in this way! It's too ugly to rely uon unreliable stuff... Ciao, Oliver