From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c32fe290813aec20 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: New Ada portable GUI Library? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <6d63c543-0a35-4c39-a330-98c63a24f64d@i3g2000hsf.googlegroups.com> <1365533.nRhg4MZKNK@linux1.krischik.com> <4e5ffa74-e1d6-4e80-9dd9-824df475a60c@e10g2000prf.googlegroups.com> <970df333-8c12-4f5d-b32b-ded6a84a0195@v4g2000hsf.googlegroups.com> <478A1CE2.4040200@obry.net> <478A1EAB.8020206@obry.net> <478c66ab$1@news.post.ch> Date: Wed, 16 Jan 2008 09:47:52 +0100 Message-ID: <1dnppjxocx3v0$.1dfb61hacgk92.dlg@40tude.net> NNTP-Posting-Date: 16 Jan 2008 09:38:50 CET NNTP-Posting-Host: b08c7277.newsspool1.arcor-online.net X-Trace: DXC=ocOT^M4P18[V;Ef1`Jk54\ic==]BZ:af^4Fo<]lROoRQFl8W>\BH3YR10FVP_bnRVUDNcfSJ;bb[UFCTGGVUmh?TLK[5LiR>kgRX5?kT1e=_OP X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:19430 Date: 2008-01-16T09:38:50+01:00 List-Id: On Wed, 16 Jan 2008 18:54:03 +1100, Brian May wrote: >>>>>> "Martin" == Martin Krischik 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? In Gtk+ there is a notion of class (of widgets for example). The class has properties and signals. An instance of that class inherits them from the class. So far so good. But this types system of Gtk+ is dynamic and weakly typed. (You can send any parameters you want) The incompatibility is firstly dynamic/weak Gtk+ with static/strong Ada and, secondly, it has an implementation of its own. Less important, but also incompatible: the messaging in Gtk+ is asynchronous in its interface while synchronous in implementation. (The worst possible combination, BTW) In Ada's OO messaging is all synchronous, concurrency is outside Ada's OO model. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de