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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1cf653444208df72 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-10 12:48:12 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!unlnews.unl.edu!newsfeed.ksu.edu!nntp.ksu.edu!news.okstate.edu!not-for-mail From: David Starner Newsgroups: comp.lang.ada Subject: Re: ada vs. cpp Date: 10 Oct 2001 18:50:27 GMT Organization: Oklahoma State University Message-ID: <9q259j$8201@news.cis.okstate.edu> References: <9pgr68$7pu1@news.cis.okstate.edu> <3bbd6287.346843109@news.cis.dfn.de> <9pkco7$9qe1@news.cis.okstate.edu> <3bc15a16.1317281@news.cis.dfn.de> <9ps9uu$a2g1@news.cis.okstate.edu> <3BC2FD54.69BA446D@sparc01.ftw.rsc.raytheon.com> <9pv54d$9aa1@news.cis.okstate.edu> <3bc40a3f.4768875@news.cis.dfn.de> <20011010085528.Q21444-100000@shell5.ba.best.com> Reply-To: dstarner98@aasaa.ofe.org NNTP-Posting-Host: x8b4e5435.dhcp.okstate.edu User-Agent: slrn/0.9.7.2 (Linux) Xref: archiver1.google.com comp.lang.ada:14203 Date: 2001-10-10T18:50:27+00:00 List-Id: On Wed, 10 Oct 2001 15:59:53 GMT, Brian Rogoff wrote: > This is one of those few cases where I think the "safe" choice (arbitrary > precision integers) is the wrong default. Why? It seems to me you wouldn't lose much in Ada if you let Integer be an arbitrary precision integer, and forced people to use subtypes with restricted ranges to get access to hardware types. It may not be the best trade-off for Ada, but for a higher-level language, I don't see why not. -- David Starner - dstarner98@aasaa.ofe.org Pointless website: http://dvdeug.dhis.org "I saw a daemon stare into my face, and an angel touch my breast; each one softly calls my name . . . the daemon scares me less." - "Disciple", Stuart Davis