caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: John Max Skaller <skaller@maxtal.com.au>
To: Chris Hecker <checker@d6.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] mark_slice, sweep_slice, oldify
Date: Sun, 23 Sep 2001 04:15:41 +1000	[thread overview]
Message-ID: <3BACD54D.27FB0127@maxtal.com.au> (raw)
In-Reply-To: <4.3.2.7.2.20010919120349.02d5a9e0@arda.pair.com>

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


  parent reply	other threads:[~2001-09-22 18:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-19 16:40 Damien Doligez
2001-09-19 19:06 ` Chris Hecker
2001-09-20  8:38   ` [Caml-list] Re: Game Christophe Raffalli
2001-09-21 22:03     ` Chris Hecker
2001-09-22 18:15   ` John Max Skaller [this message]
2001-09-22 18:24   ` [Caml-list] mark_slice, sweep_slice, oldify John Max Skaller
2001-09-24 17:48 ` Marco Maggesi
2001-09-27 16:59   ` Thorsten Ohl
  -- strict thread matches above, loose matches on Subject: below --
2001-09-15  9:10 Marco Maggesi
2001-09-18 14:22 ` Xavier Leroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BACD54D.27FB0127@maxtal.com.au \
    --to=skaller@maxtal.com.au \
    --cc=caml-list@inria.fr \
    --cc=checker@d6.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).