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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,553a6b79b2471571 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: How do you bitwise operations in Ada '83 and '95 Date: 19 Jul 2006 10:41:56 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <1153244316.853254.291560@m79g2000cwm.googlegroups.com> <1153248800.834457.183940@p79g2000cwp.googlegroups.com> <1153258362.266358.15200@h48g2000cwc.googlegroups.com> <1153281313.491512.88760@75g2000cwc.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1153320116 29918 192.74.137.71 (19 Jul 2006 14:41:56 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Wed, 19 Jul 2006 14:41:56 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: g2news2.google.com comp.lang.ada:5815 Date: 2006-07-19T10:41:56-04:00 List-Id: "Jeffrey R. Carter" writes: > "The algorithm is the same and the same numbers are produced" = "works > the same". Performance may differ, but behavior is the same. Since we're arguing about terminology... ;-) I'd say the "semantics" are the same, but the "behavior" is different. To me, "behavior" includes anything observable. I can observe how long a program takes to run using a stopwatch. Of course, I'm sure we all realize that the semantics, as defined by the RM, does not say anything about the time this program takes (since it contains no delay statements). This distinction between "semantics" and "behavior" is mentioned in AARM-1.1.2(39.c) (which I wrote sometime around 1991). >... Since > performance is a function of many things in addition to the SW, only > behavior is a meaningful comparison. A factor of 3 difference in speed is "meaningful" in my view! Especially since we're talking about a language intended for real-time use. >... No doubt there is a > platform/OS/compiler combination such that the unpacked version would > run faster than the packed version does on your machine. No doubt. - Bob