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 PAA29817; Fri, 9 Aug 2002 15:32:41 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA30267 for ; Fri, 9 Aug 2002 15:32:40 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g79DWPr24654; Fri, 9 Aug 2002 15:32:25 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA30190; Fri, 9 Aug 2002 15:32:24 +0200 (MET DST) Date: Fri, 9 Aug 2002 15:32:24 +0200 From: Xavier Leroy To: Oleg Cc: caml-list@inria.fr Subject: Re: [Caml-list] Is anyone using caml for music or sound synthesis? Message-ID: <20020809153224.A29707@pauillac.inria.fr> References: <20020808150134.B7570@cilantro.cs.wisc.edu> <200208082235.SAA14930@dewberry.cc.columbia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200208082235.SAA14930@dewberry.cc.columbia.edu>; from oleg_inconnu@myrealbox.com on Thu, Aug 08, 2002 at 06:36:32PM -0400 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Speaking of multimedia, would GC prevent people from writing, say, > an mp3 or a mpeg player in O'Caml? For MP3, not at all. Consider: - GC pauses are well below 100ms (more like 10ms, actually) (provided the compactor is turned off) - Sound drivers can usually buffer 0.5-1s of sound. - MP3 decompression in real-time uses a small fraction of the CPU power. Ergo, the sound buffer will easily mask the GC pauses. MPEG video is another story: buffering is much more limited, and CPU utilization is much higher. But GC isn't the only source of potential hiccups: disk accesses are as much of a problem, if not worse. - Xavier Leroy ------------------- 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