From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 1C05ED55E for ; Thu, 28 Jul 2005 03:47:32 +0200 (CEST) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.206]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j6S1lVmW015090 for ; Thu, 28 Jul 2005 03:47:31 +0200 Received: by zproxy.gmail.com with SMTP id 8so227540nzo for ; Wed, 27 Jul 2005 18:47:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DG91TiYK7l/+LOiSNcrwBUk2Y/nsTtzLNBntO4lCurPnvqVmbqDZw/E+PrxdbI217He7DzfxZrsVFyYeGRLHGrN1uVlU548LdihPc75qEVhiJj4D6CCd0LyDeHEDtT4mqxD8i/bKAMCeBBQBwplu5pVkad6MLaK0ZNkTWsZdvik= Received: by 10.36.227.65 with SMTP id z65mr1433262nzg; Wed, 27 Jul 2005 18:47:30 -0700 (PDT) Received: by 10.36.17.15 with HTTP; Wed, 27 Jul 2005 18:47:30 -0700 (PDT) Message-ID: <877e9a1705072718472f3926a7@mail.gmail.com> Date: Wed, 27 Jul 2005 21:47:30 -0400 From: Michael Walter Reply-To: Michael Walter To: skaller Subject: Re: [Caml-list] How to do this properly with OCaml? Cc: Pal-Kristian Engstad , Brian Hurt , caml-list@yquem.inria.fr, xm@xmunkki.org In-Reply-To: <1122503338.6768.383.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050726013444.GA32493@xmunkki.org> <1122484910.6768.133.camel@localhost.localdomain> <200507271413.41026.pal_engstad@naughtydog.com> <1122503338.6768.383.camel@localhost.localdomain> X-Miltered: at nez-perce with ID 42E83933.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 buffering:01 incorrectly:01 vsync:01 buffering:01 tweaking:01 abstraction:01 ocaml:01 low-level:01 high-level:01 cheers:01 imho:01 underlying:01 opengl:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.3 Hello, > Fact is that most PC games I have played the programmers > didn't have the faintest idea how to get good frame rates, > in fact they couldn't even get double buffering to > work properly -- 2/3 games the mouse cursor is incorrectly > handled (and also on some Gnome/Linux apps too, it is done wrong). I suspect the problem was vsync being disabled, not single buffering. You can force that on in the control panel. > however for larger games, eg RPG or Strategy class PC games, > you aren't tweaking the hardware anyhow: you'll have an > underlying abstraction like DirectX or OpenGl to work with > instead. On that class of platform, Ocaml would be quite > competitive IMHO. These are pretty low-level as well (make no mistake, most of OpenGL's seemingly high-level interface is unused in games since it just doesn't cut it performance-wise). Cheers, Michael