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 FAA18179; Thu, 25 Jul 2002 05:23:14 +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 FAA18116 for ; Thu, 25 Jul 2002 05:23:12 +0200 (MET DST) Received: from relay.pair.com (relay1.pair.com [209.68.1.20]) by concorde.inria.fr (8.11.1/8.11.1) with SMTP id g6P3NBH03423 for ; Thu, 25 Jul 2002 05:23:11 +0200 (MET DST) Received: (qmail 98831 invoked from network); 25 Jul 2002 03:23:09 -0000 Received: from node-d8e9cca2.powerinter.net (HELO checkerlap.d6.com) (216.233.204.162) by relay1.pair.com with SMTP; 25 Jul 2002 03:23:09 -0000 X-pair-Authenticated: 216.233.204.162 Message-Id: <4.3.2.7.2.20020724200626.028a9d90@mail.d6.com> X-Sender: checker@mail.d6.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 24 Jul 2002 20:19:03 -0700 To: Oleg , "Pal-Kristian Engstad" From: Chris Hecker Subject: Re: Games (Re: [Caml-list] Caml productivity.) Cc: "Caml-List@Inria.Fr" In-Reply-To: <200207222124.RAA13827@dewberry.cc.columbia.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >I'm just curious: are people developing console games >(PS2/XBox/Gamesomething) using gcc? Is it even an option? If you're talking about professional quality games using caml as the main language (as opposed to as a scripting language), it's not really an option on this generation of consoles. Memory in a commercial console game is tightly managed, and caml doesn't give much control over memory management at all. Still, you could probably port caml to PS2 Linux and play around with it. On the PS2 you'd only use it on the CPU, and you'd still upload hand coded asm to the VUs. Even on the more conventional machines like GC and Xbox, there's a lot of packing things in DMA buffers and accessing memory mapped registers and memory blocks, which caml is not great at. Caml doesn't really have a way to take a pointer to a block of memory and cast a struct with heterogeneous data types onto it. You could kind of hack this with bigarrays, but it'd be a mess. You could use caml as a scripting language, but it is missing a lot of dynamic features that you want for game scripting, like introspection and coroutines. Chris ------------------- 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