From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ca9eef4d5e2078ea X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Beware: Rep spec on an enumeration type causes code explosion Date: 1997/12/16 Message-ID: #1/1 X-Deja-AN: 298907592 References: X-Complaints-To: usenet@news.nyu.edu X-Trace: news.nyu.edu 882330129 5658 (None) 128.122.140.58 Organization: New York University Newsgroups: comp.lang.ada Date: 1997-12-16T00:00:00+00:00 List-Id: Joe said <> Robert replied <> Joe replied <> RObert says SO WAS I!! That's the point! First I assume you mean an enumeration representation clause when you say "rep spec on enumeration type" (the term rep spec, despite popular impressions to the contrary, is not an Ada technical term!) The whole point of my comment is that enumeration representation clauses add ZERO overhead if the only operations are assignments and comparisons. If your experience leads you to avoid HET's even in this case, you are overreacting from not understanding the situation clearly. <decimal conversion routine, but were afraid to admit it. A few pages copied from Knuth solved the problem. In those days, most of the embedded realtime programmers were retread hardware engineers who learned to program by reading the language and computer manuals.>> Any programmer who does not realize that 'Image involves runtime overhead lacks very fundamental knowledge about the computing model that underlies the program. Yes, I understnd that retrodden hardware engineers, physicists, etc, might conceivably have misunderstandings that are this fundamental, or more properly, gaps in their knowledge that are this fundamental. That is *exactly* why I emphasize the importance of having some people on a project who are competent programmers!