From: Brian Hurt <bhurt@janestcapital.com>
To: Dario Teixeira <darioteixeira@yahoo.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] A labltk book?
Date: Fri, 12 Oct 2007 16:23:12 -0400 [thread overview]
Message-ID: <470FD7B0.1090601@janestcapital.com> (raw)
In-Reply-To: <456409.56385.qm@web54603.mail.re2.yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 1089 bytes --]
Dario Teixeira wrote:
>>Probably. Its widgets are also much nicer looking, and apps written
>>with it don't look jarringly out of place on a modern desktop the way
>>Tk apps do. (All IMO, of course.)
>>
>>
>
>Hi,
>
>Still on the subject of toolkits, is there a reason why there aren't any
>OCaml bindings for Qt? I mean, is it simply because no one ever bothered
>to implement one, or are there license incompatibility issues?
>
>I have used both Qt and Gtk before, and in my opinion, not only does
>Qt's elegance give it an edge over Gtk, it also feels like it would be
>a better match to OCaml.
>
>
The problem as I understand things is that C++ doesn't play nice with
any language that is not C++ or explicitly designed to work with C++
(cue Skaller). This is especially true if you use the fancy features of
C++ like templates and operator overloading, which Qt does. Which makes
it much easier to use in C++, but much harder to bind to any other language.
Note that this is true of all languages- it'd be a trick to write an
Ocaml to Swing binding as well.
Brian
[-- Attachment #2: Type: text/html, Size: 1533 bytes --]
next prev parent reply other threads:[~2007-10-12 20:23 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-12 4:50 Jeff Shaw
2007-10-12 6:43 ` [Caml-list] " Jon Harrop
[not found] ` <aee06c9e0710121142p50cb3e17x369afc7f9661f3c6@mail.gmail.com>
2007-10-12 18:43 ` Nathaniel Gray
2007-10-12 18:47 ` Eric Cooper
2007-10-12 20:03 ` Dario Teixeira
2007-10-12 20:13 ` Michael Wohlwend
2007-10-12 21:58 ` Dario Teixeira
2007-10-13 9:42 ` forum
2007-10-13 10:15 ` forum
2007-10-13 14:43 ` Jon Harrop
2007-10-13 20:29 ` Nathaniel Gray
2007-10-12 20:23 ` Brian Hurt [this message]
2007-10-12 22:30 ` skaller
2007-10-13 10:11 ` Mattias Engdegård
[not found] <20071014100005.94A63BC6C@yquem.inria.fr>
2007-10-14 12:21 ` Pascal Cuoq
2007-10-15 20:54 ` Nathaniel Gray
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=470FD7B0.1090601@janestcapital.com \
--to=bhurt@janestcapital.com \
--cc=caml-list@yquem.inria.fr \
--cc=darioteixeira@yahoo.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