caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Kakadu <kakadu.hafanana@gmail.com>
To: jon@ffconsultancy.com
Cc: Alain Frisch <alain@frisch.fr>, Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] OCaml vs Ada and/or GUI options
Date: Sat, 14 Sep 2013 11:10:30 +0400	[thread overview]
Message-ID: <CAGmVoG2wQV0jhjNQPM43NFCKRzrxH7JcPOQghYafy-CiCRNzJA@mail.gmail.com> (raw)
In-Reply-To: <00d001ceb0f7$3eb62c20$bc228460$@ffconsultancy.com>

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 <jon@ffconsultancy.com> 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

  reply	other threads:[~2013-09-14  7:10 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10 21:09 Gour
2013-09-10 21:38 ` Paolo Donadeo
2013-09-11  5:24   ` Adrien Nader
2013-09-11  7:21     ` Kakadu
2013-09-11  8:21       ` [Caml-list] " Gour
2013-09-11  8:14     ` Gour
2013-09-11 18:17       ` Adrien Nader
2013-09-11 19:31         ` Gour
2013-09-11 19:53           ` Adrien Nader
2013-09-11 20:41             ` Gour
2013-09-11 21:01               ` Adrien Nader
2013-09-12  5:44                 ` Gour
2013-09-12  6:31                   ` Adrien Nader
2013-09-12  5:36             ` Gour
2013-09-12  6:48               ` Adrien Nader
2013-09-12  7:26                 ` Gour
2013-09-11 20:06         ` Jon Harrop
2013-09-11 20:48           ` Anthony Tavener
2013-09-11 21:04             ` Adrien Nader
2013-09-12 14:40             ` [Caml-list] " Jon Harrop
2013-09-12 14:51               ` Alain Frisch
2013-09-12 14:57                 ` Lukasz Stafiniak
2013-09-12 15:04                   ` Alain Frisch
2013-09-14  3:05                 ` Jon Harrop
2013-09-14  7:10                   ` Kakadu [this message]
2013-09-14 11:37                     ` Jon Harrop
2013-09-15  8:32                       ` Kakadu
2013-09-14 23:51                   ` Francois¡¡Charles Matthieu¡¡Berenger
2013-09-11 22:17           ` [Caml-list] " Richard W.M. Jones
2013-09-12 13:49             ` [Caml-list] " Jon Harrop
2013-09-12 13:58               ` Richard W.M. Jones
2013-09-11  9:49     ` David MENTRE
2013-09-11 10:14       ` Kakadu
2013-09-11 15:21         ` David MENTRE
2013-09-12  1:31           ` Francois Berenger
2013-09-11 18:43         ` Adrien Nader
2013-09-11 18:36       ` Adrien Nader
2013-09-11 19:34         ` [Caml-list] " Gour
2013-09-11 19:45           ` Adrien Nader
2013-09-11 22:06             ` [Caml-list] " Jacques Garrigue
2013-09-12  3:25         ` Ivan Gotovchits
2013-09-12  6:41         ` Adrien Nader
2013-09-12 11:49           ` Gerd Stolpmann
2013-09-11 19:17       ` [Caml-list] " Gour
2013-09-11 22:03       ` [Caml-list] " Jacques Garrigue
2013-09-12  8:16         ` Alain Frisch
2013-09-11 12:26     ` Jon Harrop
2013-09-11 18:48       ` Adrien Nader
2013-09-11 13:22     ` Paolo Donadeo
2013-09-11 13:33       ` Kakadu
2013-09-11 14:09         ` Paolo Donadeo
2013-09-11 19:36           ` Jon Harrop
2013-09-11 19:45             ` [Caml-list] " Gour
2013-09-12 12:55               ` [Caml-list] " Jon Harrop
2013-09-11 18:57       ` Adrien Nader
2013-09-11 19:01         ` Rudi Grinberg
2013-09-11 19:15           ` Adrien Nader
2013-09-11  8:10   ` [Caml-list] " Gour
2013-09-11  1:00 ` [Caml-list] " Francois Berenger
2013-09-11  5:07   ` rixed
2013-09-11  8:26     ` [Caml-list] " Gour
2013-09-11  9:23       ` rixed
2013-09-11 12:54         ` Leo White
2013-09-11 12:59           ` Gour
2013-09-11 19:06             ` Adrien Nader
2013-09-11  8:16   ` Gour
2013-09-11  9:00     ` Francois Berenger
2013-09-11 19:19       ` Gour
2013-11-17 20:12       ` [Caml-list] " Gour
2013-09-11  7:38 ` Gabriel Kerneis
2013-09-11  8:20   ` [Caml-list] " Gour
2013-09-11 11:42     ` Gerd Stolpmann
2013-09-18 11:42       ` [Caml-list] " Gour
2013-09-18 12:24         ` Gerd Stolpmann
2013-09-20  4:47           ` Gour
2013-09-19  8:11         ` Alain Frisch
2013-09-19  8:30           ` Daniel Bünzli
2013-09-19  8:47             ` Andreas Rossberg
2013-09-20  4:51           ` Gour
2013-09-20 12:04             ` Gerd Stolpmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGmVoG2wQV0jhjNQPM43NFCKRzrxH7JcPOQghYafy-CiCRNzJA@mail.gmail.com \
    --to=kakadu.hafanana@gmail.com \
    --cc=alain@frisch.fr \
    --cc=caml-list@inria.fr \
    --cc=jon@ffconsultancy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).