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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,751584f55705ddb7 X-Google-Attributes: gid103376,public From: ncohen@watson.ibm.com (Norman H. Cohen) Subject: Re: Ada is almost useless in embedded systems Date: 1996/03/15 Message-ID: <4ichi8$17tg@watnews1.watson.ibm.com>#1/1 X-Deja-AN: 142912966 distribution: world references: <9603131418.AA01642@eight-ball> organization: IBM T.J. Watson Research Center reply-to: ncohen@watson.ibm.com newsgroups: comp.lang.ada Date: 1996-03-15T00:00:00+00:00 List-Id: In article <9603131418.AA01642@eight-ball>, Bob Crispen writes: |> What I'm shocked at is that Ada stopped at 16! How hard would it have |> been to permit *any* numeric base? Anyone who's ever written a Forth |> compiler knows how simple it is, and how useful things like base-36 |> encoding can be. How many encoding/decoding routines have been written |> that could have been obviated by making the compiler do this work? And for bases 37 and higher, from what alphabet do you choose the digits for 36, 37, 38, ...? Let's face it, based literals were placed in Ada to provide a clear correspondence with bit patterns and with specifications expressed in binary, octal, or hex. Has anybody out there ever found a genuine application for literals in any of the bases 3 .. 7 | 9 | 11 .. 15? -- Norman H. Cohen ncohen@watson.ibm.com