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=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a5e:8e08:: with SMTP id a8-v6mr3304571ion.134.1532738131495; Fri, 27 Jul 2018 17:35:31 -0700 (PDT) X-Received: by 2002:aca:de07:: with SMTP id v7-v6mr171171oig.5.1532738131345; Fri, 27 Jul 2018 17:35:31 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!aioe.org!news.redatomik.org!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!85.12.16.69.MISMATCH!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!g2-v6no2296222itf.0!news-out.google.com!l67-v6ni1515itl.0!nntp.google.com!d7-v6no2277029itj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 27 Jul 2018 17:35:31 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=47.185.195.62; posting-account=zwxLlwoAAAChLBU7oraRzNDnqQYkYbpo NNTP-Posting-Host: 47.185.195.62 References: <40d568da-4715-42de-8e28-98da39a5c974@googlegroups.com> <9d69e7b5-6b2d-4607-9f7b-affa78c41620@googlegroups.com> <41c711cb-0300-4a41-93d3-e69297ae1945@googlegroups.com> <42de4aa3-9e7c-44b8-aa84-712cc7ce03c6@googlegroups.com> <9b6b6f10-5956-4a19-83f5-c1c015c62602@googlegroups.com> <8720f70a-59b1-4297-b2fc-78804ec88b7b@googlegroups.com> <756cb66b-1ef8-4d9e-b679-118b6c59e89c@googlegroups.com> <1392b483-af72-4dbe-ad51-bd703405b7a8@googlegroups.com> <3eebe2fb-f066-4248-9b2f-1db32497fd82@googlegroups.com> <71ab145a-83fd-46af-81c3-fe72c67c6897@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Visibility of Indexing aspects From: "Dan'l Miller" Injection-Date: Sat, 28 Jul 2018 00:35:31 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 4562 X-Received-Body-CRC: 944042745 Xref: reader02.eternal-september.org comp.lang.ada:53994 Date: 2018-07-27T17:35:31-07:00 List-Id: On Friday, July 27, 2018 at 5:06:00 PM UTC-5, Randy Brukardt wrote: > "Dan'l Miller" wrote in message=20 > news:71ab145a-83fd-46af-81c3-fe72c67c6897@googlegroups.com... > > ...(even when the programmer considers 4 of them as a bad idea) ... >=20 > A pretty inflexible programmer if you ask me. This is the same sort of=20 > programmer that then complains that the performance of indexing isn't goo= d=20 > enough, because they are triggering all of this expensive mechanism rathe= r=20 > than directly doing something simple. Expensive? Gee, I would think that precisely the same machine code verbati= m would be generated for each of the following syntactic variants of the on= e and only same semantic meaning: Find (IB,"pear").Data.all :=3D Element'(...); -- Traditional call=20 IB.Find ("pear").Data.all :=3D Element'(...); -- Call of prefixed view=20 IB.Find ("pear") :=3D Element'(...); -- Implicit dereference (see 4.1.5)=20 IB ("pear") :=3D Element'(...); -- Implicit indexing and dereference=20 IB ("pear").Data.all :=3D Element'(...); -- Implicit indexing only=20 > I surely hope this programmer never works for me or tries to buy anything= =20 > from me. If you'd ever see my r=C3=A9sum=C3=A9, it is obvious that I prefer programm= ers who discover clever less-is-more designs that do vastly more via vast e= ffort-reduction: One time I worked at a company that shrank a room-sized telephone switch do= wn to a single FPGA. In so doing, we accidentally designed astronomical sc= ale at super efficiency & speed: 1) the biggest best clickless wire-tap machine on the planet that can wire-= tap 100% of the telephone calls passing through it, not the mere 1% as many= of the competing telephone switches more-is-more designs do, 2) the telephone switch that has made those ten-thousand-attendee conferenc= e-calls possible that are so popular nowadays in the financial world for ea= rning statements to the shareholders; and 3) when a national emergency occurs, can ring all the hundreds-of-thousands= of telephones throughout an entire metropolitan area =E2=80=A2concurrently= =E2=80=A2 to play a listen-only looped FEMA message-du-jour in the househol= d's same native-tongue natural language as the natural language utilized to= print their billing statement.