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 10.42.146.199 with SMTP id k7mr1870809icv.24.1396479206047; Wed, 02 Apr 2014 15:53:26 -0700 (PDT) MIME-Version: 1.0 Path: border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!ur14no1472699igb.0!news-out.google.com!xg2ni70igc.0!nntp.google.com!news.glorb.com!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!reality.xs3.de!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Your wish list for Ada 202X Date: Wed, 2 Apr 2014 17:53:25 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <7f1c01c5-3563-4b94-9831-152dbbf2ecdc@googlegroups.com> <2d62368c-9f64-49f3-98a8-5121d0c0fa23@googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: loke.gir.dk 1396479205 12380 69.95.181.76 (2 Apr 2014 22:53:25 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Wed, 2 Apr 2014 22:53:25 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Original-Bytes: 2966 Xref: number.nntp.dca.giganews.com comp.lang.ada:185466 Date: 2014-04-02T17:53:25-05:00 List-Id: Even on 8-bit and 16-bit processors?? Randy. (Note that no one should be depending on implementation-defined Standard types like Long_Long_Integer. These are considered implementation-defined by the profile No_Implementation_Extensions; they should be avoided in portable Ada code. Also see 3.5.4(28). I have more sympathy for requiring System.Max_Int to be at least 2**63-1 on appropriate machines (and the appropriate Interfaces types as well)) -- but what's an appropriate machine? Janus/Ada has never supported 64-bit integers, mainly because of the nasty effect on shared generics for formal integer and discrete types [it would force those to use all 64-bit math, which would get pretty expensive for Text_IO.Integer_IO and similar generics]. We only support 32-bit machines, but of course modern Intel processors all have 64-bit "integers" via the floating point instruction set. I've never considered that real 64-bit support and ignored it, because of expense and precision concerns [along with complications supporting indexing and for loops] -- not worth the headache. A 64-bit target would be a different beast, of course.) "Britt" wrote in message news:2d62368c-9f64-49f3-98a8-5121d0c0fa23@googlegroups.com... > On Tuesday, March 25, 2014 5:41:16 PM UTC-4, Stoik wrote: >> I wonder what is high on your list of wishes for Ada 202X? > > require basic support for 64-bit integer types: > Standard.Long_Long_Integer (I'm currently missing this in ObjectAda) > Interfaces.Integer_64 > Interfaces.Unsigned_64 > and corresponding support for C99's "long long", "int64_t" and > "uint64_t" in Interfaces.C