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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3ccb707f4c91a5f2 X-Google-Attributes: gid103376,public From: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: Portability of Arithmetic (was: Java vs Ada 95) Date: 1996/10/17 Message-ID: <1996Oct17.131934.1@eisner>#1/1 X-Deja-AN: 190104246 x-nntp-posting-host: eisner.decus.org references: <325D7F9B.2A8B@gte.net> <1996Oct15.174526.1@eisner> <326628B8.7724@gsfc.nasa.gov> x-nntp-posting-user: KILGALLEN x-trace: 845572781/2691 organization: LJK Software newsgroups: comp.lang.ada Date: 1996-10-17T00:00:00+00:00 List-Id: In article , bobduff@world.std.com (Robert A Duff) writes: > In article <326628B8.7724@gsfc.nasa.gov>, > Stephen Leake wrote: >>... In Ada, the compiler tells me when it can't do >>that. > > So you port some code, and find that the compiler can't handle it. > So you have to rewrite a bunch of code. Yuck. No, Hooray ! We have learned a lesson in reading specifications of compilers before we go to depend upon them. Industry might prefer that educators spin off a "GNAT-lite" with pathetically inadequate (but standard-conforming) limits as a target for their student's first porting exercise. No, I don't think it is better for them to learn in an environment like Java where everything is always the same, because life is not that way. Larry Kilgallen