comp.lang.ada
 help / color / mirror / Atom feed
From: Geoff Bull <geoff@research.canon.com.au>
Subject: Re: Nontrivial examples of C interface with Ada
Date: 2000/05/25
Date: 2000-05-25T07:08:06+00:00	[thread overview]
Message-ID: <392CD183.D4668562@research.canon.com.au> (raw)
In-Reply-To: o%2X4.118$_M2.45406@news.pacbell.net

tmoran@bix.com wrote:

>   My preference is to start from the point of view of someone about to
> design a spec for some abstraction (socket, Windows clipboard or dialog
> box, etc).  "How would I do this in Ada?".  Then the body tries to
> implement the abstraction using C calls.  Admittedly, sometimes the
> simple, clean, abstraction needs some warts added to allow some of the
> strange functions, or to fit the restrictions of, the underlying C, but
> usually you can make something reasonably clean.  You can't just do a
> translation of the C docs, but instead you have something that makes
> sense and can be explained, usually, more simply.

OTOH, if you make it thin as possible, you don't have to do any docs at all
- can't get simpler than that.




  reply	other threads:[~2000-05-25  0:00 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-23  0:00 Nontrivial examples of C interface with Ada gressett
2000-05-24  0:00 ` Terry Westley
2000-05-24  0:00 ` tmoran
2000-05-24  0:00 ` Ted Dennison
2000-05-24  0:00   ` Marin D. Condic
2000-05-25  0:00     ` Ted Dennison
2000-05-25  0:00       ` tmoran
2000-05-29  0:00       ` Geoff Bull
2000-05-25  0:00     ` tmoran
2000-05-25  0:00       ` Geoff Bull [this message]
2000-05-25  0:00         ` tmoran
2000-05-25  0:00       ` Ted Dennison
2000-05-25  0:00         ` tmoran
2000-05-25  0:00           ` Ted Dennison
2000-05-25  0:00             ` tmoran
2000-05-26  0:00         ` Julian Day
2000-05-26  0:00           ` Julian Day
2000-05-26  0:00       ` Marin D. Condic
2000-05-27  0:00         ` tmoran
2000-05-27  0:00           ` Marin D. Condic
2000-05-28  0:00             ` tmoran
2000-05-28  0:00               ` Robert Dewar
2000-05-28  0:00               ` Marin D. Condic
2000-05-28  0:00                 ` tmoran
2000-05-24  0:00 ` Marin D. Condic
2000-05-24  0:00   ` Scott Ingram
2000-05-24  0:00     ` Marin D. Condic
2000-05-24  0:00 ` David Emery
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox