comp.lang.ada
 help / color / mirror / Atom feed
From: Joachim Durchholz <joachim.durchholz@munich.netsurf.de>
Subject: Re: Enforcing assertions in Eiffel
Date: 1997/09/30
Date: 1997-09-30T00:00:00+00:00	[thread overview]
Message-ID: <343174DF.CB2B2112@munich.netsurf.de> (raw)
In-Reply-To: 342fc4bc.0@news.uni-ulm.de


Joerg Rodemann wrote:
> 
> Joachim Durchholz (joachim.durchholz@munich.netsurf.de) wrote:
> > Well, no - I can't imagine what the GPL (a *legal* contract) has to
> > do with Eiffel assertions (a *technical* contract).
> 
> Well, are you trolling? Your statement is certainly true...and my
> followup was not about assertions (you Eiffel guys seem to be a bit
> obsessed but this thing, aren't you? :) ).

Well, it is the one thing that makes a real difference. Most other
issues of Eiffel-vs-the-rest-of-the-world are largely a matter of style,
but this one is a real screamer.

> What I was to question
> about was how an Eiffel system could check against the specification
> (short-flat form) of a class if it is already precompiled. The thread
> I mentioned was this awfully long one about keeping the spec in a
> seperate file or not.
> 
> I received just one answer via email to my request.

Sorry, I sort of dropped from that thread.

I haven't looked at Eiffel library formats, but from the technical
descriptions I think most library formats contain several compiled
variants of the same code, one variant for each assertion checking level
(there are about half a dozen levels). This can be optimized of course,
and this is probably done; for example, the library could contain code
with all assertion checking on and leave it to the linker to filter out
the assertion checking code (easy enough to do when the library code is
decorated).
Remember Eiffel doesn't have a linker in the traditional sense; several
important optimization steps (in particular inlining) are done only
after pulling together all the required classes.
In fact Eiffel libraries might be nothing more than decorated abstract
syntax trees.

Regards,
Joachim
-- 
Please don't send unsolicited ads. (The @@ is for confusing spambots.)






  reply	other threads:[~1997-09-30  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-13  0:00 New copying license for classes/modules: CGPL Wouter Scholten
1997-09-14  0:00 ` Robert Dewar
1997-09-16  0:00   ` Bertrand Meyer
1997-09-17  0:00     ` Joerg Rodemann
1997-09-17  0:00       ` Enforcing assertions in Eiffel Joachim Durchholz
1997-09-29  0:00         ` Joerg Rodemann
1997-09-30  0:00           ` Joachim Durchholz [this message]
1997-10-01  0:00             ` Jon S Anthony
1997-10-09  0:00               ` JOVIAL (J3) John R. Fluharty, Jr
1997-10-01  0:00           ` Enforcing assertions in Eiffel Morgan Palaeo Associates
1997-10-01  0:00             ` Joerg Rodemann
1997-10-01  0:00               ` W. Wesley Groleau x4923
1997-09-17  0:00     ` New copying license for classes/modules: CGPL Robert Dewar
1997-09-17  0:00     ` Robert Dewar
replies disabled

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