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 autolearn=ham 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!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!kanaga.switch.ch!news-zh.switch.ch!switch.ch!news.ip-plus.net!newsfeed.ip-plus.net!news.post.ch!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: New Ada portable GUI Library? Date: Tue, 15 Jan 2008 11:39:06 +0100 Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) Message-ID: <478c8d4a$1@news.post.ch> References: <6d63c543-0a35-4c39-a330-98c63a24f64d@i3g2000hsf.googlegroups.com> <478c6c2d$1@news.post.ch> NNTP-Posting-Host: 194.41.146.1 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: atlas.ip-plus.net 1200393551 19737 194.41.146.1 (15 Jan 2008 10:39:11 GMT) X-Complaints-To: abuse@ip-plus.net NNTP-Posting-Date: Tue, 15 Jan 2008 10:39:11 +0000 (UTC) User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: X-Original-NNTP-Posting-Host: w03duo.pnet.ch X-Original-Trace: 15 Jan 2008 11:39:06 +0100, w03duo.pnet.ch Xref: g2news1.google.com comp.lang.ada:19414 Date: 2008-01-15T11:39:06+01:00 List-Id: Ludovic Brenta schrieb: > Martin Krischik wrote: >> I have another suggestion: A GUI Library based on OpenStep [1]. > [...] >> [1] http://en.wikipedia.org/wiki/OpenStep > > Do you mean a reimplementation of the OpenStep specification in Ada, > or an Ada binding to GNUstep (http://www.gnustep.org) ? The later. AFAIK GNUStep uses only a small message based dynamically typed API with a plain C specification. Qt and Gtk+ use huge OO API's in C++ or some kind of strange OO-C. To make use of that API easier special languages like Objective-C and Objective-C++ are used. Those languages can be implemented by a preprocessor (currently they are not) so I believe creating an Objective-Ada preprocessor should be possible - especially since Ada does not use '[' ']' and '@' ;-). We would not be the first: Google-ing shows that Objective-TCL [1], Objective-Perl [2] already exists and Objective-Cobol and Objective-Fortran are rumoured [3] - even talk about Objective-Ada isn't new [3]. The advantage is that once we have an preprocessor the hole library becomes available. That's unlike Gtk or Qt where we have to write a separate binding for each class we want to use and where - forever - we will be hobbling behind. > The latter > would require both the Ada and Objective-C runtime libraries... Indeed - but that is not different from Gtk+ and Qt approach. And bare metal is only feasible for Windows but not for X11. Martin [1] http://www.usenix.org/publications/library/proceedings/tcl95/bogdanovich.html [2] http://www.ddj.com/web-development/184416144 [3] http://lists.apple.com/archives/Cocoa-dev/2001/Sep/msg00947.html -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com