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,1042f393323e22da X-Google-Attributes: gid103376,public From: clines@delete_this.airmail.net (Kevin Cline) Subject: Re: Any research putting c above ada? Date: 1997/05/19 Message-ID: #1/1 X-Deja-AN: 242343869 References: X-Orig-Message-ID: <337fce3c.4234003@news.airmail.net> Organization: INTERNET AMERICA X-A-Notice: References line has been trimmed due to 512 byte limitation NNTP-Proxy-Relay: library.airnews.net Newsgroups: comp.lang.ada Date: 1997-05-19T00:00:00+00:00 List-Id: jsa@alexandria (Jon S Anthony) wrote: >In article <12871CEBFAB00ABE.93483F73373D0261.D1086334F6EF8ED8@library-proxy.airnews.net> clines@delete_this.airmail.net (Kevin Cline) writes: > >> problem that started this thread? The poster claimed that it was easy to >> write a program that read a file into an array of lines since Ada allowed >> arrays of size determined at run-time to be returned as function values. >> The I pointed out that: > >Just to stir things up a bit. IMO, the only good way to handle this >sort of thing is with GC. If you have that, the entire issue isn't >just solved, it becomes completely irrelevant. No question about that, but it says nothing about the usefulness of Ada arrays for solving this problem. > >> inflexible applications. OTOH, I have observed that the >> availability of the C++ STL containers is already expanding the >> toolkit of average C++ developers. > >Well, despite the unsupported claims of AS, STL could be implemented >in Ada95 without much problem. Never said it couldn't be done. But it hasn't been done yet. >OTOH, there is really nothing in the STL that is all that interesting >IMO. To me, the best thing about STL is that it makes it easier for programmers to select appropriate data structures without having to search the net for PD stuff, or evaluate vendors of commercial stuff. It's all right there in the language, and eliminates the temptation to just use an array.