From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 858AF7EE49 for ; Sun, 15 Sep 2013 01:51:45 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of Berenger@riken.jp) identity=pra; client-ip=134.160.33.162; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="Berenger@riken.jp"; x-sender="Berenger@riken.jp"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of Berenger@riken.jp designates 134.160.33.162 as permitted sender) identity=mailfrom; client-ip=134.160.33.162; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="Berenger@riken.jp"; x-sender="Berenger@riken.jp"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of postmaster@postman.riken.jp designates 134.160.33.162 as permitted sender) identity=helo; client-ip=134.160.33.162; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="Berenger@riken.jp"; x-sender="postmaster@postman.riken.jp"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkkBAEb2NFKGoCGinGdsb2JhbABbgz+DfKsGkk6BLg4BAQEBAQgLCQkUKIIlAQEEASNLEAcEBQYRBAEBAQICBQQaAwICDzYBCQgZEQGHXwMJBgyoEYgIA4lHgSmNAAuBRgYQglOBNQOJNo5FgS+TeC2BLA X-IPAS-Result: AkkBAEb2NFKGoCGinGdsb2JhbABbgz+DfKsGkk6BLg4BAQEBAQgLCQkUKIIlAQEEASNLEAcEBQYRBAEBAQICBQQaAwICDzYBCQgZEQGHXwMJBgyoEYgIA4lHgSmNAAuBRgYQglOBNQOJNo5FgS+TeC2BLA X-IronPort-AV: E=Sophos;i="4.90,905,1371074400"; d="scan'208";a="32895119" Received: from postman2.riken.jp (HELO postman.riken.jp) ([134.160.33.162]) by mail2-smtp-roc.national.inria.fr with ESMTP; 15 Sep 2013 01:51:25 +0200 Received: from postman.riken.jp (postman2.riken.jp [127.0.0.1]) by postman.riken.jp (Postfix) with SMTP id 0454E1260366 for ; Sun, 15 Sep 2013 08:51:23 +0900 (JST) Received: from postman2.riken.jp (postman2.riken.jp [127.0.0.1]) by postman.riken.jp (Postfix) with ESMTP id 9CAF01270051 for ; Sun, 15 Sep 2013 08:51:21 +0900 (JST) Date: Sun, 15 Sep 2013 08:51:21 +0900 From: =?UTF-8?B?RnJhbmNvaXPCocKhQ2hhcmxlcyBNYXR0aGlldcKhwqFCZXJlbmdlcg==?= To: caml-list@inria.fr Message-Id: <1379202681604187.Berenger@riken.jp> In-Reply-To: <00d001ceb0f7$3eb62c20$bc228460$@ffconsultancy.com> References: <20130910230928.2d51cd39@atmarama.noip.me> <20130911052437.GA9514@notk.org> <20130911101457.3f756b68@atmarama.noip.me> <20130911181737.GA3764@notk.org> <054201ceaf2a$5a0ece10$0e2c6a30$@ffconsultancy.com> <05b701ceafc6$0dab7950$29026bf0$@ffconsultancy.com> <5231D505.2020909@frisch.fr> <00d001ceb0f7$3eb62c20$bc228460$@ffconsultancy.com> X-Priority: 3 MIME-Version: 1.0 X-Mailer: SYNCDOT/WebMailer Ver2.5 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.9.14.234214 Subject: Re: [Caml-list] OCaml vs Ada and/or GUI options On Sat, 14 Sep 2013 04:05:17 +0100 Jon Harrop wrote: > > More the tooling and documentation than the language although there is some > overlap. The OCaml language is good for expressing GUI and graphical > programs. Polymorphic variants are particularly useful. > > I'd say the main challenges are: > > 1. API Exploration: OCamlBrowser is a great little tool but it is much > slower to use to explore a big API (like a GUI toolkit's API) than > Intellisense. By the way, where is the OCamlBrowser package for OPAM? Is it not available via OPAM? Regards, F. > 2. Libraries: OCaml has mature bindings to GTK but GTK has very limited > support for modern GUI features. For example, vector graphics are ubiquitous > in modern GUIs and GTK punts this to Cairo which comparable to using the > Acorn DRAW file format from BBC BASIC in 1987 (26 years ago) but without the > high-level memory safety that BBC BASIC offered. > > 3. Interoperability: both GTK and Qt punt more advanced (e.g. 3D) vector > graphics to OpenGL but OCaml doesn't have any up-to-date OpenGL bindings. > LablGL is mature but I don't think its bindings to GLU were ever finished > and, of course, it only supports OpenGL circa the turn of the millenium. > Ultimately, the problem is that interoperability is hard with OCaml. > > 4. Samples: There are relatively few OCaml GUI samples out there. > > With tablets reinventing user interface designs, the time is ripe for a new > GUI toolkit, e.g. written in OCaml using OpenGL ES 2.0... > > Cheers, > Jon. > > -----Original Message----- > From: Alain Frisch [mailto:alain@frisch.fr] > Sent: 12 September 2013 15:52 > To: jon@ffconsultancy.com > Cc: caml-list@inria.fr > Subject: Re: [Caml-list] OCaml vs Ada and/or GUI options > > On 09/12/2013 04:40 PM, Jon Harrop wrote: > > OCaml is nowhere near > > having competitive support for basic features required for modern GUI > > programming > > Hi Jon! > > Could you more specific? Are you referring to language features? > > -- Alain > > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs