From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: New Ada portable GUI Library?
Date: Wed, 16 Jan 2008 09:52:29 +0100
Date: 2008-01-16T09:52:29+01:00 [thread overview]
Message-ID: <478dc5cd$1@news.post.ch> (raw)
In-Reply-To: <sa4bq7mfbok.fsf@snoopy.microcomaustralia.com.au>
Brian May schrieb:
>>>>>> "Martin" == Martin Krischik <krischik@users.sourceforge.net> writes:
>
> Martin> There is just one problem here: Both Gtk+ and QT are OO libraries which
> Martin> are not all that compatible with the Ada's OO way of live and this in
> Martin> turn mean that layer (2) and (3) might not be as tiny as we hope for.
>
> I am curious - in what why are they not compatible?
First of all: all OO systems are incompatible. Sad but true. They use
different name mangler, different class tags (also called virtual
function tables) and so on.
In detail:
Qt: is written in C++. One could use Convention => Cpp to make all those
classes available. But Convention => Cpp is not part if the RM, seldom
used (meaning: badly tested) and difficult to use - but at least the
result behaves like normal tagged types and is pragma Export capable.
Gtk+: Used some OO layer on top of C. Using C make import to Ada easier
- but just importing the functions won't make the tagged type and you
create the tagged types proxys then they won't be pragma Export capable.
Note that I am not only speaking about importing an existing class
library but also about enhancing/inheriting from it and then exporting
the new enhancements back.
Note also: I did not say "totally incompatible". With enough effort it
is possible.
You might have also noticed the OpenStep discussion. With OpenStep one
does not even try make anything compatible - OpenStep approach is to add
a 2nd dynamically typed OO system in parallel - similar to Objective-C++.
Martin
--
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com
next prev parent reply other threads:[~2008-01-16 8:52 UTC|newest]
Thread overview: 93+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-12 13:37 New Ada portable GUI Library? Tomek Walkuski
2008-01-12 15:19 ` Martin Krischik
2008-01-12 18:12 ` Lucretia
2008-01-12 20:40 ` Tomek Walkuski
2008-01-12 23:01 ` Lucretia
2008-01-13 5:17 ` Vadim Godunko
2008-01-13 9:07 ` Lucretia
2008-01-13 10:49 ` Vadim Godunko
2008-01-16 9:45 ` I. Levashew
2008-01-13 8:13 ` Dmitry A. Kazakov
2008-01-13 9:11 ` Lucretia
2008-01-13 10:06 ` Dmitry A. Kazakov
2008-01-13 10:25 ` Tomek Walkuski
2008-01-13 12:36 ` Dmitry A. Kazakov
2008-01-13 19:58 ` Michael Bode
2008-01-13 21:00 ` Dmitry A. Kazakov
2008-01-13 21:53 ` Michael Bode
2008-01-14 9:11 ` Dmitry A. Kazakov
2008-01-13 23:08 ` Gary Scott
2008-01-13 23:31 ` Michael Bode
2008-01-13 23:50 ` Gary Scott
2008-01-14 19:12 ` Michael Bode
2008-01-13 11:27 ` Lucretia
2008-01-13 11:29 ` Lucretia
2008-01-15 7:34 ` Martin Krischik
2008-01-15 8:38 ` Ludovic Brenta
2008-01-15 8:54 ` Martin Krischik
2008-02-11 22:10 ` Martin
2008-02-12 18:35 ` Martin Krischik
2008-02-12 21:43 ` Tomek Walkuski
2008-01-13 11:14 ` Martin Krischik
2008-01-13 11:31 ` Lucretia
2008-01-14 17:58 ` Ben
2008-01-14 18:21 ` Dmitry A. Kazakov
2008-01-14 20:47 ` Gautier
2008-01-14 21:32 ` Dmitry A. Kazakov
2008-01-13 13:28 ` Stephen Leake
2008-01-13 14:14 ` Pascal Obry
2008-01-13 14:22 ` Pascal Obry
2008-01-15 7:54 ` Martin Krischik
2008-01-16 7:54 ` Brian May
2008-01-16 8:47 ` Dmitry A. Kazakov
2008-01-16 8:52 ` Martin Krischik [this message]
2008-01-16 18:26 ` tmoran
2008-01-13 22:22 ` Lucretia
2008-01-14 10:07 ` Stephen Leake
2008-01-12 18:36 ` (slightly OT) Open Source licences? (was: Re: New Ada portable GUI Library?) framefritti
2008-01-12 18:57 ` Maciej Sobczak
2008-01-12 19:27 ` Tomek Walkuski
2008-01-12 19:39 ` (slightly OT) Open Source licences? Gautier
2008-01-12 20:26 ` Dmitry A. Kazakov
2008-01-12 21:58 ` Robert A Duff
2008-01-13 0:04 ` (slightly OT) Open Source licences? (was: Re: New Ada portable GUI Library?) Georg Bauhaus
2008-01-12 22:37 ` Georg Bauhaus
2008-01-13 11:04 ` New Ada portable GUI Library? Gautier
2008-01-15 7:56 ` Martin Krischik
2008-01-15 17:41 ` Gautier
2008-01-16 8:16 ` tmoran
2008-01-16 8:56 ` Martin Krischik
2008-01-16 19:34 ` Gautier
2008-01-16 22:51 ` Randy Brukardt
2008-01-17 20:32 ` Gautier
2008-01-18 1:41 ` Robert A Duff
2008-01-18 17:53 ` tmoran
2008-01-18 18:59 ` Robert A Duff
2008-01-18 19:28 ` Pascal Obry
2008-01-20 22:38 ` Robert A Duff
2008-01-20 1:38 ` Jerrid Kimball
2008-01-20 12:30 ` Ludovic Brenta
2008-01-20 13:40 ` Stephen Leake
2008-01-20 14:36 ` Dmitry A. Kazakov
2008-01-15 8:17 ` Martin Krischik
2008-01-15 9:14 ` Ludovic Brenta
2008-01-15 10:39 ` Martin Krischik
2008-01-15 14:01 ` Ludovic Brenta
2008-01-15 16:05 ` Martin Krischik
2008-01-15 17:31 ` Ludovic Brenta
2008-01-16 8:28 ` Martin Krischik
2008-01-17 2:21 ` I. Levashew
2008-01-17 7:34 ` OpenStep/GNUStep/Cocoa (Was: New Ada portable GUI Library?) Martin Krischik
2008-01-17 9:06 ` Ivan Levashew
2008-01-17 10:25 ` Martin Krischik
2008-01-18 3:28 ` Ivan Levashew
2008-01-18 7:24 ` Martin Krischik
2008-01-15 21:51 ` New Ada portable GUI Library? Phaedrus
2008-01-16 0:04 ` Jeffrey R. Carter
2008-01-16 0:20 ` Phaedrus
2008-01-16 1:09 ` Randy Brukardt
2008-01-16 1:47 ` Phaedrus
2008-01-20 14:07 ` Andre
2008-01-21 23:14 ` Frederik Sausmikat
2008-01-27 11:26 ` Lucretia
2008-01-27 16:47 ` Gary Scott
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox