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,b68ad30ece6a8cb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed01.chello.at!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Binding or not binding Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <45C098DE.1000409@obry.net> Date: Tue, 6 Feb 2007 09:38:08 +0100 Message-ID: <32sxmt7j2z9j.24bgmpy13ext.dlg@40tude.net> NNTP-Posting-Date: 06 Feb 2007 09:38:08 CET NNTP-Posting-Host: fbdff9c7.newsspool4.arcor-online.net X-Trace: DXC=9MBGUIj[;M;i6K;>iZ]7634IUKkg2mBF]6g_97d9 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:9011 Date: 2007-02-06T09:38:08+01:00 List-Id: On Mon, 05 Feb 2007 20:41:07 GMT, Björn Persson wrote: > Dmitry A. Kazakov wrote: > >> On Wed, 31 Jan 2007 14:25:50 +0100, Pascal Obry wrote: >> >>> Another example, do you think it would have been wise to recode the Gtk+ >>> library in Ada... certainly not :) >> >> I wouldn't be so sure. In a long term perspective it certainly makes >> sense. Fighting GTK+ costs too much time. GUI libraries have too much >> influence on software design to leave them outside Ada. If Ada only had a >> quasi-standard GUI library, portable, task-safe, designed for and in >> Ada... > > I wonder if it would make sense to make a hybrid, or maybe I should call it > an ultra-thick binding. That is, to design an API that makes sense for Ada, > and write the specifications without regard to any other library, but then > internally use a portable library like GTK+, QT or WXwidgets – or low-level > parts of it – to put things on the screen and take care of the > cross-platform issues. It could turn even more difficult than to design, say, GTK+ from scratch. At this level we will have to abstract widgets, styles, resources rather than events, drawing contexts, pixels, fonts, pens of the lover level. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de