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,6e3842e0704f3e39 X-Google-Attributes: gid103376,public From: mfb@mbunix.mitre.org (Michael F Brenner) Subject: Re: Ada95 references needed. Date: 1997/12/03 Message-ID: <664aps$5hg@top.mitre.org>#1/1 X-Deja-AN: 294926152 References: Organization: The MITRE Corporation, Bedford Mass. Newsgroups: comp.lang.ada Date: 1997-12-03T00:00:00+00:00 List-Id: In the last year I converted several projects from Ada-83 to Ada-95, including HYTLIST (the hypertext link insertion tool, about 20,000 LOC), a command and control system (800,000 LOC, of which 250,000 were non-comment lines), the Braid Group Laboratory Software (about 10,000 LOC), and some smaller tools. The largest of these (the command and control software) required 300 lines of code to bring it up from a dialect of Ada compilable by only one Ada-83 compiler to good Ada-95. HYTLIST required no changes. The Braid Group Laboratory had problems with the late changes to Ada-95 regarding unsigned numbers and wound up costing a few weekends. In general, conversion from Ada-83 to Ada-95 does not take very much time for fully tested Ada-83 code. If you do not have test programs to see how the Ada-83 code is supposed to work, then you may have to write the test programs first. The biggest question you probably need to ask is not which programs are 100 percent Ada, but rather, how easy is it for Ada to use software and global variables from C, Java Byte Code, and Assembler on the systems you will be connecting to. The big advantage of Ada-95 is the ease of substituting code in one language for another. I had a contest with a veteran C lover writing a device driver (they wrote it in C and I wrote it in Ada); the Ada code wound up running faster (because of arcane rules of the hardware that I happened to know more about); the Ada device driver was plugged into a system with more lines of code in assembler and C than in Ada. Conversions from C to Ada might be replaceable by Ada calling C or C calling Ada. That is one of the real strengths of Ada-95. Mike Brenner mikeb@mitre.org