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,b68ad30ece6a8cb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!v33g2000cwv.googlegroups.com!not-for-mail From: "Ludovic Brenta" Newsgroups: comp.lang.ada Subject: Re: Binding or not binding Date: 6 Feb 2007 01:11:20 -0800 Organization: http://groups.google.com Message-ID: <1170753080.604643.32620@v33g2000cwv.googlegroups.com> References: <45C098DE.1000409@obry.net> NNTP-Posting-Host: 212.190.145.10 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1170753087 3132 127.0.0.1 (6 Feb 2007 09:11:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 6 Feb 2007 09:11:27 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 SEVPXS01 Complaints-To: groups-abuse@google.com Injection-Info: v33g2000cwv.googlegroups.com; posting-host=212.190.145.10; posting-account=ZjNXewwAAADyBPkwI57_UcX8yKfXWOss Xref: g2news2.google.com comp.lang.ada:9014 Date: 2007-02-06T01:11:20-08:00 List-Id: On Feb 5, 9:41 pm, Bj=F6rn Persson wrote: > 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 Ad= a, > and write the specifications without regard to any other library, but then > internally use a portable library like GTK+, QT or WXwidgets - or low-lev= el > parts of it - to put things on the screen and take care of the > cross-platform issues. > > But I know very little about GUI libraries so I should probably shut up. There once was a flurry of such libraries in C++. One that I liked particularly was YACL (Yet Another Component Libraryu or some such). It had containers and an abstract GUI toolkit with 3 implementations: OS/2, Windows, and Motif. I liked its design, but that was before C++ had templates, so now I know better than to like a design where everything is a descendant of Object :) Writing such a library is not trivial. -- Ludovic Brenta.