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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b68ad30ece6a8cb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Binding or not binding Date: Tue, 06 Feb 2007 10:14:59 +0100 Message-ID: <52qv97F1olfarU1@mid.individual.net> References: <45C098DE.1000409@obry.net> <32sxmt7j2z9j.24bgmpy13ext.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit X-Trace: individual.net UIuMte0OU9xOYqW7vq5XMwmYb+Z3LKHaJMfUzqHNcmOEHnTpY= User-Agent: KNode/0.10.4 Xref: g2news2.google.com comp.lang.ada:9015 Date: 2007-02-06T10:14:59+01:00 List-Id: Dmitry A. Kazakov wrote: > 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. Perhaps the history of java AWT, JWT, Swing is relevant here.