Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
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: 2005-02-22 (23:30)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] Cross-platform "Hello, World" graphical application in OCaml

Le 22 févr. 05, à 23:16, Jon Harrop a écrit :

> Of course, awesome performance, anti-aliasing, transparency, gradient  
> and
> radial fills and many other features are inherited from Smoke.
> I'd have thought that seasoned OCaml hackers would be able to knock  
> out ass-
> kickingly good commercial applications in no time with a library like  
> this...

One nice thing to have would be a pure ocaml gui system (maybe along  
the lines of Fruit [1] or Fudgets) with a functorized renderer  
interface so that it can be used with/rendered by different graphic api  
(e.g. see cegui [3,4]) or even inside a canvas widget. Input handling  
should also be functorized so that it is easy to plug the gui system in  
a particular environment.

However the big problem of these custom gui systems is the lack of  
integration with the native gui system. This may not be an issue for  
fullscreen vizualisation tools or games but can be for other  
applications like editors (e.g., because you usually have a single  
window in which everything occurs (your gl context), you don't have  
access to platform specific save dialogs, look and feel, etc., etc.).


[1] <>
[3] <>
[4] <>