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,b92b95c9b5585075 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!f8g2000yqb.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Why use C++? Date: Fri, 12 Aug 2011 08:56:08 -0700 (PDT) Organization: http://groups.google.com Message-ID: <13a53c73-060c-4047-946e-2147d5000390@f8g2000yqb.googlegroups.com> References: <1e292299-2cbe-4443-86f3-b19b8af50fff@c29g2000yqd.googlegroups.com> <1fd0cc9b-859d-428e-b68a-11e34de84225@gz10g2000vbb.googlegroups.com> <9ag33sFmuaU1@mid.individual.net> <1d8wyhvpcmpkd.ggiui9vebmtl.dlg@40tude.net> <27gqrnht5c9d$.1trzrissr4mjn.dlg@40tude.net> <877h6j55fl.fsf@ludovic-brenta.org> <4e450519$0$7610$9b4e6d93@newsspool1.arcor-online.net> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1313164568 6305 127.0.0.1 (12 Aug 2011 15:56:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 12 Aug 2011 15:56:08 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f8g2000yqb.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESRCNK X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101206 Red Hat/3.6-2.el5 Firefox/3.6.13,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20575 Date: 2011-08-12T08:56:08-07:00 List-Id: Georg Bauhaus wrote on comp.lang.ada: > On 12.08.11 11:45, Ludovic Brenta wrote: > >> "Dmitry A. Kazakov" writes: >>> As the result of so called "global warming" we have no summer third >>> year in a row. Much, much cold water... (:-)) > >> The summer occurred in May and June this year in Europe :) > > We need to get more flexible representation clauses for enumeration > types from climate aware compilers. =A0Also, multiply and statically > dispatching aspects if an Ada program needs to be portable across > planets. And their satellites, obviously. Things could become pretty messy in binary star systems, too. Think of a satellite on a retrograde orbit (like Triton) around a heavy planet (like Neptune) that is in forward rotation around the center of gravity of a binary star system... > =A0 Obviously, > > =A0 =A0type Season is (Spring, Summer, Fall, Winter) > =A0 =A0 =A0with (Summer =3D> Summer (Epoch =3D> 21 * Century, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Planet =3D> Ea= rth)), > =A0 =A0 =A0 =A0 =A0 =A0...); > > Redefinitions of order related operators and attributes > would be automatic. Don't forget the hemispheres and that seasons depend on latitude. For example, between -15 and +15 degrees on Earth there is only one season; between 15 and 35 degrees, two seasons (dry and wet); between 35 and 72 degrees, four; above 72, two again (day and night). Also, on some planets (e.g. Mars), the four seasons have different lengths due to the eccentricity of the orbit. We need an AI for that... -- Ludovic Brenta. The clients strategize efficient, forward-looking, trigger events.