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 A1B8EBC75 for ; Wed, 2 Mar 2005 12:40:30 +0100 (CET) Received: from furbychan.cocan.org (furbychan.cocan.org [80.68.91.176]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j22BeR3L007134 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 2 Mar 2005 12:40:30 +0100 Received: from rich by furbychan.cocan.org with local (Exim 3.35 #1 (Debian)) id 1D6SDJ-0005nv-00 for ; Wed, 02 Mar 2005 11:40:25 +0000 Date: Wed, 2 Mar 2005 11:40:25 +0000 Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Cross-platform "Hello, World" graphical application in OCaml Message-ID: <20050302114025.GA17540@furbychan.cocan.org> References: <20050223054011.3414.28936.Mailman@yquem.inria.fr> <5fc951a0050301223646a48b5e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5fc951a0050301223646a48b5e@mail.gmail.com> User-Agent: Mutt/1.3.28i From: Richard Jones X-Miltered: at concorde with ID 4225A62B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 ocaml:01 gtk:01 api:01 notepad:01 cocoa:98 wrote:01 abstract:01 widgets:01 opengl:01 native:02 graphical:02 functional:02 programming:03 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 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! Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com