From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 9ED0EBC69 for ; Sat, 24 Feb 2007 04:58:27 +0100 (CET) Received: from ptb-relay01.plus.net (ptb-relay01.plus.net [212.159.14.212]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1O3wPfe013156 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Sat, 24 Feb 2007 04:58:27 +0100 Received: from [80.229.56.224] (helo=beast.local) by ptb-relay01.plus.net with esmtp (Exim) id 1HKo3D-00073b-1h for caml-list@inria.fr; Sat, 24 Feb 2007 03:58:23 +0000 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@inria.fr Subject: GLCaml Date: Sat, 24 Feb 2007 03:52:05 +0000 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702240352.05650.jon@ffconsultancy.com> X-Miltered: at discorde with ID 45DFB7E1.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 lablgl:01 low-level:01 bindings:01 ocaml:01 high-level:01 low-level:01 bindings:01 renderer:01 mpg:98 frog:98 sourceforge:01 functions:01 api:01 unsafe:01 Anyone heard about or used the GLCaml library that provides OpenGL to OCaml functions: http://glcaml.sourceforge.net/ I've used LablGL a lot and, while it is excellent, it is very out of date. GLCaml claims to be much more up to date so I'm surprised not to have heard of it before. I really think this is a fantastically important piece of work (assuming it works!). I'd love to see unsafe, low-level bindings to the whole of a recent OpenGL (with extensions) available from OCaml. I don't know the author (Elliott Oti) but his example code could leverage OCaml a lot more. I suspect this project will gain a lot from more experienced programmers helping to write a safe high-level OCaml API on top of these low-level bindings. I've been thinking about writing another planet renderer recently, using something like ROAM: http://www.mpi-inf.mpg.de/departments/irg3/ws0405/cg/rcomp/29/x117.html OCaml is ideal for this kind of work and should be able to match the performance of C++ whilst being many times more concise. I think this could be a great demo of OCaml! -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. OCaml for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists