English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
How to do this properly with OCaml?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-07-29 (01:45)
From: Michael Walter <michael.walter@g...>
Subject: Re: [Caml-list] Games
On 7/28/05, Jon Harrop <jon@ffconsultancy.com> wrote:
> On Thursday 28 July 2005 22:32, David Thomas wrote:
> > --- Jon Harrop <jon@ffconsultancy.com> wrote:
> > > Many games now use quite sophisticated LOD algorithms
> > > and OCaml is vastly better suited to this than C++.
> >
> > I'm probably missing something obvious, but... why?
> Essentially, OCaml is much better suited to the manipulation of complicated
> data structures like trees and graphs than C++. In particular, it is much
> easier to write such code correctly in OCaml than in C++.

I don't see the C++ implementation part being a major source of
complexity these days in rendering. I suppose your example would be
more applicable to other areas of game programming.