From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 750B4BDCB for ; Tue, 30 Aug 2005 17:47:31 +0200 (CEST) Received: from ptb-relay03.plus.net (ptb-relay03.plus.net [212.159.14.214]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j7UFlUBk003899 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 30 Aug 2005 17:47:31 +0200 Received: from [80.229.56.224] (helo=chetara) by ptb-relay03.plus.net with esmtp (Exim) id 1EA8Kf-0005rm-Vv for caml-list@yquem.inria.fr; Tue, 30 Aug 2005 16:47:30 +0100 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: GUI for OCaml (was: Re: [Caml-list] Does LablTk have a future?) Date: Tue, 30 Aug 2005 16:44:37 +0100 User-Agent: KMail/1.7.2 References: <20050830172518.G58228-100000@xs2.xs4all.nl> In-Reply-To: <20050830172518.G58228-100000@xs2.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508301644.37964.jon@ffconsultancy.com> X-Miltered: at concorde with ID 43147F92.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocaml:01 caml-list:01 labltk:01 api:01 api:01 wrappers:01 guis:01 ocaml:01 segfault:01 low-level:01 bindings:01 widget:01 frog:98 wrote:01 caml:02 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 On Tuesday 30 August 2005 16:33, mmzeeman wrote: > The Clean programming language seems to have a nice functional GUI api > (http://www.cs.ru.nl/~clean/index.html). Thanks for the link. I'll check it out. > Personnaly I like the Qt api. I think it should be possible to > create/generate c++ to ocaml-objects wrappers so you could create Qt GUIs > with ocaml. This is exactly the kind of thing that I'd like to avoid. Firstly, Qt is a very expensive commercial product so we wouldn't use it. Secondly, Qt goes to great lengths to circumvent flaws in the C++ language. It would be a great shame to "port" these to OCaml. Finally, I found that TrollTech's own Qt demos segfault reliably, so I'd question Qt's stability. I'd much rather see only low-level bindings with all of the widget code written in OCaml. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective CAML for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists