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: 109fba,1042f393323e22da X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,1042f393323e22da X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,1042f393323e22da X-Google-Attributes: gid1014db,public From: eachus@spectre.mitre.org (Robert I. Eachus) Subject: Re: Any research putting c above ada? Date: 1997/04/21 Message-ID: #1/1 X-Deja-AN: 236375379 References: <5ih6i9$oct$1@waldorf.csc.calpoly.edu> <5j078b$b25$1@NNTP.MsState.Edu> <335458A4.4C1D@worldnet.att.net> <5j416b$hau@mtinsc04.worldnet.att.net> <3357B132.3281@us.net> <5j9287$omc@mtinsc02.worldnet.att.net> Organization: The Mitre Corp., Bedford, MA. Newsgroups: comp.lang.c++,comp.lang.c,comp.lang.ada Date: 1997-04-21T00:00:00+00:00 List-Id: In article <5j9287$omc@mtinsc02.worldnet.att.net> Craig Franck writes: > Are they portable add-ons? I understand that an Ada implementation > must provide (Cohen 1986) four packages: IO_Exceptions, Text_IO, > Sequential_IO, and Direct_IO. That is it. Never not, even for Ada 83. Those are the required Ada 83 IO library units. Others included Calendar, Unchecked_Conversion, etc. > When "The Long and Winding Road" to standardization is at its end, > C++ will offer a virtual zoo of functionality; C already offers a > good bit and C++ piles even more *portable* functionality onto > that. In C and C++ the entire standard library is part of the > language. In Ada 95, there is an extensive required library. To quote Annex A paragraph 1: "This Annex contains the specifications of library units that shall be provided by every implementation. There are three root library units: Ada, Interfaces, and System; other library units are children of these." It then lists 67 library units, 19 of which are required only of implementations that support some or all of the specialized needs annexes. To give you a flavor, Elementary_Functions and Command_Line are required, but Complex_Elementary_Functions and RPC are in specialized annexes. (For those of you out there who are nit pickers, there are some packages, such as Machine_Code, where the applicable annex requires access to the functionality but allows that to be through package machine code or compiler intrinsics.) -- Robert I. Eachus with Standard_Disclaimer; use Standard_Disclaimer; function Message (Text: in Clever_Ideas) return Better_Ideas is...