From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA05129; Mon, 23 Aug 2004 14:25:38 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 OAA05766 for ; Mon, 23 Aug 2004 14:25:37 +0200 (MET DST) Received: from mail.cs.uu.nl (aurora.cs.uu.nl [131.211.80.20]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i7NCPamL012238 for ; Mon, 23 Aug 2004 14:25:36 +0200 Received: from [127.0.0.1] (levensweg.cs.uu.nl [131.211.81.123]) by mail.cs.uu.nl (Postfix) with ESMTP id 04CD31CB269 for ; Mon, 23 Aug 2004 14:25:36 +0200 (CEST) Message-ID: <4129E248.3090607@cs.uu.nl> Date: Mon, 23 Aug 2004 14:25:44 +0200 From: Daan Leijen User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: [Caml-list] Why does ocaml use custom buffering? References: <410B5EBD.6060800@cgorski.org> <200407311444.56864.jon@jdh30.plus.com> <20040731163143.GB15775@fichte.ai.univie.ac.at> <200408231049.59342.jon@jdh30.plus.com> In-Reply-To: <200408231049.59342.jon@jdh30.plus.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 4129E240.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; daan:01 daan:01 buffering:01 runtime:01 buffering:01 byterun:01 implements:01 ocaml:01 ocaml:01 wondering:04 channel:06 standard:07 operations:08 operations:08 historic:90 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I was wondering why the OCaml runtime implements its own buffering on channel operations (in "byterun/io.c") instead of using the standard "FILE*" operations in C? Is there a particular reason (like performance), or is it just an historic artifact? All the best, Daan. ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners