Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2001-09-22 (18:16)
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
games around, with utterly broken game play engines. Hopefully,
using Ocaml will allow you to concentrate on design and balance.

John (Max) Skaller, 
10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850
New generation programming language Felix
Literate Programming tool Interscript
Bug reports:  FAQ:
To unsubscribe, mail  Archives: