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 JAA21347; Fri, 9 Aug 2002 09:43:21 +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 JAA21042 for ; Fri, 9 Aug 2002 09:43:20 +0200 (MET DST) Received: from mel-rto6.wanadoo.fr (smtp-out-6.wanadoo.fr [193.252.19.25]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g797hJr07933 for ; Fri, 9 Aug 2002 09:43:19 +0200 (MET DST) Received: from mel-rta9.wanadoo.fr (193.252.19.69) by mel-rto6.wanadoo.fr (6.5.007) id 3D49FD97002EFCBC; Fri, 9 Aug 2002 09:43:01 +0200 Received: from warp (80.13.116.114) by mel-rta9.wanadoo.fr (6.5.007) id 3D49FFB7002D6C58; Fri, 9 Aug 2002 09:43:01 +0200 Message-ID: <001e01c23f78$5c765700$0700a8c0@warp> From: "Nicolas Cannasse" To: "Travis Bemann" , "Oleg" Cc: References: <20020808150134.B7570@cilantro.cs.wisc.edu> <200208082235.SAA14930@dewberry.cc.columbia.edu> <20020809011830.A702@execpc.com> Subject: Re: [Caml-list] Is anyone using caml for music or sound synthesis? Date: Fri, 9 Aug 2002 09:42:49 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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? > >Probably not, because OCaml uses an incremental generational garbage >collector that is rather configurable, so therefore one would probably >be able to configured the garbage collector to limit GC during >playing, combined with generally programming in a fashion that would >avoid allocation (as allocation tends to cause GC to occur, AND >allocation creates new blocks that have to be GCed once they aren't >used anymroe). Yes but such algorithms are making a large use of float calculations, and ocaml float are boxed into a block, so such calcs could trigger multiples allocations. Nicolas Cannasse ------------------- 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