From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id A4891BC75 for ; Sat, 5 Mar 2005 14:02:26 +0100 (CET) Received: from smtp7.wanadoo.fr (smtp7.wanadoo.fr [193.252.22.24]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j25D2QKh007051 for ; Sat, 5 Mar 2005 14:02:26 +0100 Received: from me-wanadoo.net (unknown [127.0.0.1]) by mwinf0704.wanadoo.fr (SMTP Server) with ESMTP id 4337C14000A1; Sat, 5 Mar 2005 14:02:26 +0100 (CET) Received: from pegasos (AStrasbourg-251-1-66-14.w82-126.abo.wanadoo.fr [82.126.134.14]) by mwinf0704.wanadoo.fr (SMTP Server) with ESMTP id 1BC721400099; Sat, 5 Mar 2005 14:02:26 +0100 (CET) X-ME-UUID: 20050305130226113.1BC721400099@mwinf0704.wanadoo.fr Received: from luther by pegasos with local (Exim 4.44) id 1D7YkK-0004gE-2K; Sat, 05 Mar 2005 13:51:04 +0100 Date: Sat, 5 Mar 2005 13:51:03 +0100 To: Richard Jones Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Cross-platform "Hello, World" graphical application in OCaml Message-ID: <20050305125103.GA17841@pegasos> References: <20050223054011.3414.28936.Mailman@yquem.inria.fr> <5fc951a0050301223646a48b5e@mail.gmail.com> <20050302114025.GA17540@furbychan.cocan.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20050302114025.GA17540@furbychan.cocan.org> User-Agent: Mutt/1.5.6+20040907i From: Sven Luther X-Miltered: at concorde with ID 4229ADE2.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 sven:01 luther:01 sven:01 luther:01 ocaml:01 gtk:01 api:01 api:01 framebuffer:01 cocoa:98 wrote:01 wrote:01 abstract:01 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: On Wed, Mar 02, 2005 at 11:40:25AM +0000, Richard Jones wrote: > On Wed, Mar 02, 2005 at 12:36:53AM -0600, Ken Rawlings wrote: > > My experiences building Kog were overall positive. However, writing a > > full-featured GUI from scratch is a lot of work, so Kog is likely to > > remain a toy implementation for the foreseeable future. If there's > > much interest in the OCaml community for this sort of thing though, > > I'd love to work with a group on a project getting a full-featured > > lightweight GUI up and running with OCaml, whether it be on OpenGL > > directly, or one of the higher level vector libraries. > > I think this would be the wrong direction to go. > > What I think would be useful is an OCaml wrapper around Gtk, Win32 and > Aqua/COCOA. The idea would be for the OCaml wrapper to abstract away > the differences, allowing cross-platform programming with native > widgets. WxWidgets fits the bill here, but the actual API is clunky. > I have a feeling that something could be done better with a functional > programming approach. > > Of course it's a lot of tedious engineering work. I'm not > volunteering! And then you could do a fully native implementation of the API, over the linux framebuffer or directfb for example. Friendly, Sven Luther