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: f5d71,d275ffeffdf83655 X-Google-Attributes: gidf5d71,public X-Google-Thread: 146b77,d275ffeffdf83655 X-Google-Attributes: gid146b77,public X-Google-Thread: 103376,d275ffeffdf83655 X-Google-Attributes: gid103376,public X-Google-Thread: 101b33,d275ffeffdf83655 X-Google-Attributes: gid101b33,public X-Google-Thread: 115aec,d275ffeffdf83655 X-Google-Attributes: gid115aec,public X-Google-Thread: f849b,d275ffeffdf83655 X-Google-Attributes: gidf849b,public X-Google-Thread: 109fba,d275ffeffdf83655 X-Google-Attributes: gid109fba,public X-Google-Thread: 1108a1,d275ffeffdf83655 X-Google-Attributes: gid1108a1,public From: Marin David Condic Subject: Re: Ada vs C++ vs Java Date: 1999/01/15 Message-ID: <369F6E76.9D732F94@pwfl.com>#1/1 X-Deja-AN: 433007053 Content-Transfer-Encoding: 7bit Sender: condicma@bogon.pwfl.com References: <369C1F31.AE5AF7EF@concentric.net> <369CAB38.404C0610@praxis-cs.co.uk> <369CBD49.C686157D@pwfl.com> <369DECA9.44959773@enea.se> <369E0EA2.1AFB1C1E@pwfl.com> <369EC6D8.40E3B5A0@enea.se> Content-Type: text/plain; charset=us-ascii Organization: Pratt & Whitney Mime-Version: 1.0 Reply-To: diespammer@pwfl.com Newsgroups: comp.lang.ada,comp.lang.c++,comp.vxworks,comp.lang.java,comp.java.advocacy,comp.realtime,comp.arch.embedded,comp.object,comp.lang.java.programmer Date: 1999-01-15T00:00:00+00:00 List-Id: Ola Liljedahl wrote: > > Marin David Condic wrote: > > I know of no reason why applications developed in C cannot be done > > equally as well or better in Ada. I do not find C to be somehow > > inherently "faster" in development time. If anything, I find it slower. > > And even when I've got development of throw-away code going on, I've > > found that development gets significantly leveraged by the presence of > > lots of Ada utility packages we've got lying around here which would be > > difficult to duplicate in C. I've got metrics that have demonstrated > > faster development time for Ada vs C and I know that there have been a > > number of studies in both acedemia and industry which back that claim > > up. > What kind of utility packages? > -- A wide assortment. Lots of the "hacker" programs we slap together as "throw away" code tend to be for VMS or Unix and are command line oriented. We've built up packages which do things like all the standard data structures in a variety of flavors (stacks, queues, lists, etc.), string manipulation tools (mostly to make up for Ada83 deficiencies - Ada95's string packages are pretty comprehensive.) command line processing tools for parsing, Ada source manipulation things (lexical analysis, etc), and the list goes on. We've developed reusable tools for some specialized applications, which wouldn't be of much use to anyone but us. For instance, we built a very large system called "Pictures to Code" and this maintains a development library in a large database. Naturally, we've built packages which do a variety of library manipulations and such which get reused all the time as we build specialized little hacked programs for the users. We've even done a variety of things for our real time controls which are generic reuse tools - A/D and F/D converter code, monitor code, bus interface code, etc. have all been things where we see enough hardware similarity to make reusable packages. Unfortunately, most of our real time projects are in Ada83 rather than Ada95, so we have not built up much experience in using tagged records, etc. for reuse. I'm sure that a number of the tools we have could be built in other languages. Reuse has been around since Fortran and naturally a lot of our mathematical stuff is no big mystery and could be done in just about any language. But with Ada83 giving us generics and Ada95 with tagged types, we have been able to leverage reuse a lot farther than otherwise might be the case. A lot of it depends on how application specific your reuse tools are. Certainly we beat to death the data structures & string manipulation in almost any domain. Command line stuff is not applicable to all domains, so it gets used less, etc. YMMV... MDC -- Marin David Condic Real Time & Embedded Systems, Propulsion Systems Analysis United Technologies, Pratt & Whitney, Large Military Engines M/S 731-95, P.O.B. 109600, West Palm Beach, FL, 33410-9600 Ph: 561.796.8997 Fx: 561.796.4669 ***To reply, remove "bogon" from the domain name.*** "Nobody shot me." -- Last words of Frank Gusenberg when asked by police who shot him fourteen times with a machine gun in the Saint Valentine's Day Massacre.