comp.lang.ada
 help / color / mirror / Atom feed
From: neff@Shasta.STANFORD.EDU (Randy Neff)
Subject: Ada Libraries
Date: 19 Feb 88 19:58:54 GMT	[thread overview]
Message-ID: <2501@Shasta.STANFORD.EDU> (raw)

Read  "Source Code" by Mark Weisner of Xerox PARC, in IEEE Computer, Nov 87.

This paper is an excellent discussion of why programmers should have reading
access to all source code.   My twenty odd years of programming experience
agrees with his arguements.   I.E. writing an Ada interface to Un*x curses
required reading the source code;  a complete Ada interface to Sun CGI 
was aborted because no source was available.

I have wasted weeks of time with buggy Ada compilers when the error 
messages (like internal assertion error 59) were meaningless.   Having the
source code and debugger would at least allow me to find out what caused
the error and how to write a work around.   No way will I fix the compiler;
it is just that the error messages and documentation are useless.

However, if a vendor wants to cripple the programmers that buy its library by
not providing source code, then here is one note:   the Verdix compiler
library has the source file name, which is used by the debugger.  
Delete or rename the source file and the debugger cannot find it.

Motherhood:   One of the big unanswered questions in CS is how to 
define the word 'guarantee' as in:  "I, the vendor, guarantee that the
specifications are complete, correct, and consistent; and that the 
hidden code I provide is complete, correct, and consistent with the 
specifications."   Unfortunately,  today's state of the art is that the
only trustworthy specification is the machine code; if you trust your
assembler, then the assembly code; if you trust your Ada compiler (I don't),
then the Ada source code.   

Randall Neff @sierra.stanford.edu

             reply	other threads:[~1988-02-19 19:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1988-02-19 19:58 Randy Neff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-05-04 20:56 howto make system calls (newbie question) Beard, Frank
2001-05-07 14:42 ` Marin David Condic
2001-05-08  7:34   ` Tarjei T. Jensen
2001-05-08 13:43     ` Marin David Condic
2001-05-12  2:58       ` Randy Brukardt
2001-05-14 13:29         ` Ada Libraries (was Re: howto make system calls (newbie question)) Marin David Condic
2001-05-14 19:16           ` Randy Brukardt
2001-05-14 22:35             ` Ada Libraries Marin David Condic
1987-09-28 13:24 amiram
replies disabled

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