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,aa8786249f0c751f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.pionier.net.pl!pwr.wroc.pl!panorama.wcss.wroc.pl!not-for-mail From: Waldek Hebisch Newsgroups: comp.lang.ada Subject: Re: How difficult is ada to learn? Date: Fri, 15 Jul 2005 02:27:21 +0000 (UTC) Organization: Politechnika Wroclawska Message-ID: References: <1120092264.749327.16210@z14g2000cwz.googlegroups.com> <1120141150.107320.139080@f14g2000cwb.googlegroups.com> <42c40952$0$32193$39cecf19@news.twtelecom.net> NNTP-Posting-Host: hera.math.uni.wroc.pl X-Trace: panorama.wcss.wroc.pl 1121394441 27454 156.17.86.1 (15 Jul 2005 02:27:21 GMT) X-Complaints-To: abuse@news.pwr.wroc.pl NNTP-Posting-Date: Fri, 15 Jul 2005 02:27:21 +0000 (UTC) User-Agent: tin/1.5.12-20020311 ("Toxicity") (UNIX) (Linux/2.4.30 (i686)) Xref: g2news1.google.com comp.lang.ada:3629 Date: 2005-07-15T02:27:21+00:00 List-Id: Robert A Duff wrote: > Ada's array-of-boolean doesn't have the annoying restriction of Pascal > sets to a small range. If you want 10_000 bits, that's fine in Ada, > but Pascal compilers typically won't allow it. > Use good Pascal compiler. GNU Pascal sets are limited by integer size. On 32-bit machines you are still limited to 256 MB (while packed bit array is able to use 64-bit indices and fill whole 4GB), but on 64-bit machines the other limits strike first. Even on 32-bit machines I would not call it "small range". -- Waldek Hebisch hebisch@math.uni.wroc.pl