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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id CF8C37EE49 for ; Sat, 14 Sep 2013 09:10:57 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of kakadu.hafanana@gmail.com) identity=pra; client-ip=209.85.220.45; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="kakadu.hafanana@gmail.com"; x-sender="kakadu.hafanana@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of kakadu.hafanana@gmail.com designates 209.85.220.45 as permitted sender) identity=mailfrom; client-ip=209.85.220.45; receiver=mail3-smtp-sop.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 (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-pa0-f45.google.com) identity=helo; client-ip=209.85.220.45; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="kakadu.hafanana@gmail.com"; x-sender="postmaster@mail-pa0-f45.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsBANALNFLRVdwtm2dsb2JhbABbgz9Sri2SToEUCBYOAQEBAQEGCxQUKIIlAQEFQAEbEgsBAwgEBgULBgQBAQENGgciAREBBQEKAQkIGRKHXgEDDwycCIxRgweECQoZJwMKZIhTAQUMjhsLgT8HBhCECAOJMoV8iEyBL45cGCmEUTeBLA X-IPAS-Result: AvsBANALNFLRVdwtm2dsb2JhbABbgz9Sri2SToEUCBYOAQEBAQEGCxQUKIIlAQEFQAEbEgsBAwgEBgULBgQBAQENGgciAREBBQEKAQkIGRKHXgEDDwycCIxRgweECQoZJwMKZIhTAQUMjhsLgT8HBhCECAOJMoV8iEyBL45cGCmEUTeBLA X-IronPort-AV: E=Sophos;i="4.90,902,1371074400"; d="scan'208";a="26826596" Received: from mail-pa0-f45.google.com ([209.85.220.45]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 14 Sep 2013 09:10:32 +0200 Received: by mail-pa0-f45.google.com with SMTP id bg4so3397920pad.18 for ; Sat, 14 Sep 2013 00:10:30 -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=ZVBpEj7ciSJY+wkWRVffEiLSszW+Mbnew0rtK0oFs50=; b=k38ydrdhWHka2vzDuDcqzryStT/4A7cwPjRUSN6rpKbxGQxWq+8lQmfyD+hzAyb5mE bMS1K4f0ZyljsukuM5hR6KHLBrRsp8C3ZFMLqYCrvtYS3D8useGIdmJEfiEE+dOwQmHo x8AAneqs1yLC1EFzdqMrA4fazRE3P1WJbBDKr2DygseOMzeZiBs1ZeIBm2vNnxs8XN6d KDYLIpmFnFq4s7vujQFbvP8aBlnhgF8XZ6rGRLZmSrCOo5O0H56AgSZxuk+7X3AD0su9 Z9m0jQacPABBHep4G0aqajn9qMnqCbnAL8Uy021wnw4Q8+f7h50WnJj6T/WETlOSINlI Z7VA== MIME-Version: 1.0 X-Received: by 10.68.50.165 with SMTP id d5mr12179pbo.162.1379142630759; Sat, 14 Sep 2013 00:10:30 -0700 (PDT) Received: by 10.70.50.71 with HTTP; Sat, 14 Sep 2013 00:10:30 -0700 (PDT) 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> Date: Sat, 14 Sep 2013 11:10:30 +0400 Message-ID: From: Kakadu To: jon@ffconsultancy.com Cc: Alain Frisch , Caml List Content-Type: text/plain; charset=ISO-8859-1 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