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 UAA17559; Sat, 22 Sep 2001 20:16:10 +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 UAA17555 for ; Sat, 22 Sep 2001 20:16:09 +0200 (MET DST) Received: from localhost.localdomain (kenny38.zip.com.au [61.8.18.166]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f8MIG6n14346 for ; Sat, 22 Sep 2001 20:16:06 +0200 (MET DST) Received: from maxtal.com.au (IDENT:root@localhost [127.0.0.1]) by localhost.localdomain (8.9.3/8.8.7) with ESMTP id EAA12343; Sun, 23 Sep 2001 04:15:42 +1000 Message-ID: <3BACD54D.27FB0127@maxtal.com.au> Date: Sun, 23 Sep 2001 04:15:41 +1000 From: John Max Skaller X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: Chris Hecker CC: caml-list@inria.fr Subject: Re: [Caml-list] mark_slice, sweep_slice, oldify References: <4.3.2.7.2.20010919120349.02d5a9e0@arda.pair.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Chris Hecker wrote: > Being a relatively performance sensitive game programmer > writing a commercial game in ocaml, I have a constant lowlevel > anxiety that I'll wake up one day and the GC will be taking a > lot of time and I won't be able to fix it. Stop worrying. 1. You can do what other games do: use fixed mutable data stores. 2. The GC will be much faster than other storage management techniques used by games. 3. The GC can be tuned. Just don't overdo the 'functional' programming. Use imperative data structures where they're appropriate. It's my guess that, unlike most games, your game might actually WORK. This would be a pleasant change from the beautiful, high quality graphics games around, with utterly broken game play engines. Hopefully, using Ocaml will allow you to concentrate on design and balance. -- John (Max) Skaller, mailto:skaller@maxtal.com.au 10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850 New generation programming language Felix http://felix.sourceforge.net Literate Programming tool Interscript http://Interscript.sourceforge.net ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr