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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,874959b8413ac400 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-19 16:14:03 PST From: Adrian Knoth Newsgroups: comp.lang.ada Subject: Re: Book to learn GtkAda Date: 19 Oct 2001 18:48:08 GMT Organization: Modern Electronics Message-ID: <9qpsh8$lf5$2@drcomp.erfurt.thur.de> References: <9qn2t5$7pu1@news.cis.okstate.edu> <9qnc4s$gl7$1@drcomp.erfurt.thur.de> <9qpc58$8a21@news.cis.okstate.edu> NNTP-Posting-Host: drcomp.erfurt.thur.de X-Server-Date: 19 Oct 2001 18:48:08 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.4.12 (i586)) Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!netnews.web.de!blackbush.xlink.net!blackbush.de.kpnqwest.net!news.erfurt.thur.de!eastside.erfurt.thur.de!drcomp.erfurt.thur.de!not-for-mail Xref: archiver1.google.com comp.lang.ada:14945 Date: 2001-10-19T18:48:08+00:00 List-Id: David Starner wrote: > I don't see any way that one could write a compariable library to GTK or > QT with the amount of available manpower; I can agree to this, but if you consider a possible feature where Ada is widely used as a standard programming language there would be a need for libraries written in Ada, too. If you only encapsulate the C-Code by some Ada-wrapper-functions you'll get a huge amount of C combined with tons of Ada, doing more or less the same. Think of PostgreSQL: there is a thick binding, I need libpq for it, but it works very well. Ok, that's what you're saying: it works, use it and do something interesting with it. OTOH libpq itself could be implemented in Ada. I guess you'll find a wrapped socket()-function in it. If there is a better abstraction we even can get rid of this by providing a direct kernel-Interface. After all, no C involved. Don't ask me why, but I think this is better. You can use the main Ada-features across your libraries, you don't need to convert types between C and Ada, get all the checkings and so on. > it's much more productive to write a binding and go make > something interesting. For sure, at the moment. But I don't want to have AdaOS with GTK written in C. That's all :) -- mail: adi@thur.de http://adi.thur.de PGP: v2-key via keyserver Der Computer ist die Antwort, doch was war eigentlich die Frage?