comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: thick? thin? binding
Date: Wed, 19 Jun 2002 19:22:09 GMT
Date: 2002-06-19T19:22:09+00:00	[thread overview]
Message-ID: <BR4Q8.1126$vL1.100233478@newssvr13.news.prodigy.com> (raw)
In-Reply-To: aeqjst$96ip3$1@ID-100557.news.dfncis.de

> I read through 1 and a half Ada book and still doesnt catch what "thick" or
> "thin" binding mean
It's an informal term, originally referring to the thickness of the docs
for the binding.  For instance, a binding to Windows that just has the
pragma Import specifications for the various function calls, and let's you
go to some book on C calls in Windows for information, would be thin.  A
somewhat thicker binding would use Ada types and type checking, perhaps
raise an exception on error instead of returning a code, etc.  It would
need some documentation of its own, but not too much.  A thick binding
would look like Ada, not C, perhaps use Ada tasking and OO instead of the
message loop and case statement, use controlled types to help ensure
things get properly destroyed with all the right Windows calls, etc.  An
extremely thick binding would hide even the fact you were running on
Windows rather than Unix.  See the "Thin vs Thick" section in the paper
www.rrsoftware.com/prodinfo/triadapaper/triada.html



  reply	other threads:[~2002-06-19 19:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-19 18:53 thick? thin? binding Immanuel Scholz
2002-06-19 19:22 ` tmoran [this message]
2002-06-19 19:27 ` Stephen Leake
2002-06-19 19:50   ` Immanuel Scholz
2002-06-19 20:25     ` tmoran
2002-06-19 19:27 ` chris.danx
2002-06-19 19:28 ` Stephen Leake
2002-06-20 14:12 ` Ted Dennison
2002-06-21  1:29   ` David Emery
2002-06-26  0:23     ` tmoran
replies disabled

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