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 81FB17EE49 for ; Sun, 15 Sep 2013 10:32:55 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of kakadu.hafanana@gmail.com) identity=pra; client-ip=209.85.192.173; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kakadu.hafanana@gmail.com"; x-sender="kakadu.hafanana@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of kakadu.hafanana@gmail.com designates 209.85.192.173 as permitted sender) identity=mailfrom; client-ip=209.85.192.173; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kakadu.hafanana@gmail.com"; x-sender="kakadu.hafanana@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-pd0-f173.google.com) identity=helo; client-ip=209.85.192.173; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kakadu.hafanana@gmail.com"; x-sender="postmaster@mail-pd0-f173.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkcCAGVvNVLRVcCtlGdsb2JhbABagz9SrhuSToEPCBYOAQEBAQcLCwkSKoIlAQEFQAEbEgsBAwgEBgULBgQBAQENGgchAQERAQUBCgEJCAYTEodeAQMPDJwSjFGDB4NpChknAwpkiEkBBQyMeYEkC4E/BwaEGAOJMoV8hmSBaYEvixIDg0cYKYRRN4Es X-IPAS-Result: AkcCAGVvNVLRVcCtlGdsb2JhbABagz9SrhuSToEPCBYOAQEBAQcLCwkSKoIlAQEFQAEbEgsBAwgEBgULBgQBAQENGgchAQERAQUBCgEJCAYTEodeAQMPDJwSjFGDB4NpChknAwpkiEkBBQyMeYEkC4E/BwaEGAOJMoV8hmSBaYEvixIDg0cYKYRRN4Es X-IronPort-AV: E=Sophos;i="4.90,908,1371074400"; d="scan'208";a="32920827" Received: from mail-pd0-f173.google.com ([209.85.192.173]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 15 Sep 2013 10:32:53 +0200 Received: by mail-pd0-f173.google.com with SMTP id p10so2930471pdj.32 for ; Sun, 15 Sep 2013 01:32:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=m6bbdQ9lIPh6n+Cr8qqW61g9BHzRGzVuNzBco+jyl3o=; b=YQqaWf76Rithd7iIEsZEjLN9AQyS3x7Ryae7EUH3uqqbAkNHY+RDQKGbUb9HicYI3O 4IEkczfq3qCE+lsxWcsaj3WDuIE+EFMQHnfXV6DcYKfhbL+l6MXqWq0CInDvjT4gdPtC Z+d7VUQyry192gbjBdU5idlr9Ei35gNgw0MsDvZ/VFJGd2tXeKD/IuuyrYkPiMkJiAfc NnxH4FW7xBqEXaLrvM0rZXMALdZTMmT/v6CrnjsME9BUs4SBChMd8Wetn1JVHLPu4i0X kQYxd5eVh/4OWVD4wrLjcaVk5WiERtGjIC027DFtR/OltKt70DE7wFmzM4LZ85DBOGu3 JwXQ== MIME-Version: 1.0 X-Received: by 10.68.244.168 with SMTP id xh8mr22553864pbc.3.1379233973028; Sun, 15 Sep 2013 01:32:53 -0700 (PDT) Received: by 10.70.50.71 with HTTP; Sun, 15 Sep 2013 01:32:52 -0700 (PDT) In-Reply-To: <00dd01ceb13e$c35e29e0$4a1a7da0$@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> <00dd01ceb13e$c35e29e0$4a1a7da0$@ffconsultancy.com> Date: Sun, 15 Sep 2013 12:32:52 +0400 Message-ID: From: Kakadu To: Jon Harrop Cc: Caml List Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Caml-list] OCaml vs Ada and/or GUI options For simple applications: I think it's ready to replace C++. For complex ones I'm not so sure (some complex widgets can be not expressable in pure QML), some testing/testers/users are needed. I have demo application there: https://github.com/Kakadu/QOcamlBrowser_quick Some opam installation instructions there: http://kakadu.github.io/lablqt/ Best wishes, Kakadu On Sat, Sep 14, 2013 at 3:37 PM, Jon Harrop wrote: > > Yes. What is the state of Qt bindings for OCaml these days? > > Cheers, > Jon. > > -----Original Message----- > From: Kakadu [mailto:kakadu.hafanana@gmail.com] > Sent: 14 September 2013 08:11 > To: jon@ffconsultancy.com > Cc: Alain Frisch; Caml List > Subject: Re: [Caml-list] OCaml vs Ada and/or GUI options > > If we seriously talking about OpenGL GUI I should mention that QtQuick > already uses OpenGL to render itself. Also, if you are going to write some > phone app with OCaml Qt will also be helpful > > Kaladu > > On Sat, Sep 14, 2013 at 7:05 AM, 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. >> >> 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 >