Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] Cross-platform "Hello, World" graphical application in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sven Luther <sven.luther@w...>
Subject: Re: [Caml-list] Cross-platform "Hello, World" graphical application in OCaml
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