Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] mark_slice, sweep_slice, oldify
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: John Max Skaller <skaller@m...>
Subject: Re: [Caml-list] mark_slice, sweep_slice, oldify
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