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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1cf653444208df72 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-10 04:20:55 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news-FFM2.ecrc.net!news.iks-jena.de!lutz From: lutz@iks-jena.de (Lutz Donnerhacke) Newsgroups: comp.lang.ada Subject: Re: ada vs. cpp Date: Wed, 10 Oct 2001 11:20:34 +0000 (UTC) Organization: IKS GmbH Jena Message-ID: 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> NNTP-Posting-Host: taranis.iks-jena.de X-Trace: branwen.iks-jena.de 1002712834 22456 217.17.192.37 (10 Oct 2001 11:20:34 GMT) X-Complaints-To: usenet@iks-jena.de NNTP-Posting-Date: Wed, 10 Oct 2001 11:20:34 +0000 (UTC) User-Agent: slrn/0.9.6.3 (Linux) Xref: archiver1.google.com comp.lang.ada:14139 Date: 2001-10-10T11:20:34+00:00 List-Id: * Dmitry Kazakov wrote: >1. If you mean that Ada has no type to represent the whole set of all >integers, yes it is true. [as well as it is for all other languages >designed for finite discrete machines] man Haskell. (or any other lazy evaluation language with unlimited arithmetics) >3. If you mean that Ada has no int-like numeric type with an undefined > reaction on overflows. Well, is an undefined behaviour good? gnat without -gnato will produce erronous code. So we are close. >4. If your point is that a language *has* all types [all programs, all > whatsoever] one could develop using the language then well, all > languages are more or less equivalent. There is no equivalent for an oracle or true randomness. OTOH C++ source is a type 0 language. Ada source a type 1 language. So they are different.