From: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Subject: Re: Book to learn GtkAda
Date: 19 Oct 2001 18:48:08 GMT
Date: 2001-10-19T18:48:08+00:00 [thread overview]
Message-ID: <9qpsh8$lf5$2@drcomp.erfurt.thur.de> (raw)
In-Reply-To: 9qpc58$8a21@news.cis.okstate.edu
David Starner <dvdeug@x8b4e53cd.dhcp.okstate.edu> 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?
next prev parent reply other threads:[~2001-10-19 18:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-17 21:29 Book to learn GtkAda Michael Bode
2001-10-18 6:43 ` David Starner
2001-10-18 8:58 ` Preben Randhol
2001-10-18 17:18 ` David Starner
2001-10-18 19:56 ` Adrian Knoth
2001-10-19 14:08 ` David Starner
2001-10-19 18:48 ` Adrian Knoth [this message]
2001-10-20 17:03 ` Florian Weimer
2001-10-19 14:20 ` Ted Dennison
2001-10-19 14:30 ` David Botton
2001-10-20 2:01 ` DuckE
2001-10-20 16:34 ` David Starner
2001-10-19 9:04 ` Preben Randhol
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox