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,d32116f6f91c319f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread3.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada suitablity as a game dev language References: <41a152c2$1@x-privat.org> <4770972.9DtAtPAQWM@linux1.krischik.com> <7e2ad2d.0411240959.1d7b96a3@posting.google.com> In-Reply-To: <7e2ad2d.0411240959.1d7b96a3@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Thu, 25 Nov 2004 01:26:44 GMT NNTP-Posting-Host: 63.184.104.46 X-Complaints-To: abuse@earthlink.net X-Trace: newsread3.news.pas.earthlink.net 1101346004 63.184.104.46 (Wed, 24 Nov 2004 17:26:44 PST) NNTP-Posting-Date: Wed, 24 Nov 2004 17:26:44 PST Xref: g2news1.google.com comp.lang.ada:6444 Date: 2004-11-25T01:26:44+00:00 List-Id: Sandro Magi wrote: > You can't specify arbitrary integer sizes greater than the underlying > machine word size though can you? ie. 1024 bit integers are not > natively supported. x86 would be limited to 32 bits for instance (64 > bits with gnat). You're limited to what the compiler writer is willing to support. That's how GNAT supports 64-bit integers on 32-bit machines. You could expand the idea to support 96-, 128-, or whatever-bit integers on any platform. There's no intrinsic reason why 1024-bit integers could not be supported on an 8-bit platform. If you were interested, you could modify GNAT to support larger integers and report on it here. I'm sure we'd all be interested in hearing what was involved. Perhaps your efforts could be incorporated into the supported compiler. -- Jeff Carter "I'm particularly glad that these lovely children were here today to hear that speech. Not only was it authentic frontier gibberish, it expressed a courage little seen in this day and age." Blazing Saddles 88