comp.lang.ada
 help / color / mirror / Atom feed
  • [parent not found: <6p83vj$657$1@news.intellistor.com>]
  • * Re: Why C++ is successful
    @ 1998-08-06  0:00 Robert Dewar
      1998-08-06  0:00 ` William Clodius
      1998-08-06  0:00 ` Martin Dowie
      0 siblings, 2 replies; 101+ messages in thread
    From: Robert Dewar @ 1998-08-06  0:00 UTC (permalink / raw)
    
    
    
    Jay said
    
    <<The mismanagement is that the DOD did not push Ada beyond the immediate
    requirements of defense embedded systems.  Its a chicken or the egg
    situation:  You can't portably rely on GC until a good number of compilers
    support it, so nobody uses it and thus there is no pressing demand for it.
    This is where management needs to step in and break the cycle.
    >>
    
    There are LOTS of applications of Ada that have nothing to do
    with embedded systems. It is just that none of these have needed garbage
    collection. Note that your criticism would also apply to C++ (though
    presumably not even Jay can manage to blame the DoD for this :-)
    
    Sure, Jay thinks GC is an important feature, but this is by no means
    a universal attitude. Algol-68 tried to move GC into the mainstream,
    so did Modula-3, both failed in this goal. Java is making another
    attempt, perhaps it will succeed.
    
    The fact remains that the reason that Ada compilers do not implement
    general GC (although of course they can be used with typical conservative
    GC gizmos) is that users have not been interested in this feature, and
    that includes users with a very wide range of applications.
    
    P.S. if you insist on referring to Jean Ichbiah as Ichy, perhaps we should
    refer to you as Mary :-). But in any case I doubt you will get a reply
    from Jean, since he is no longer in the Ada world (he works on some
    very nice products these days, if you have a Palm Pilot, try visiting
    his web site if you don't like Graffiti :-)
    
    In fact Jean was careful to design Ada 83 so that it was compatible with
    garbage collection, and Dave Fisher most certainly *did* expect all
    or most implementations to implement GC. But Jean's company, Alsys, never
    implemented general GC in Ada -- why not -- simple, none of their customers
    needed it or even particularly wanted it.
    
    P.P.S. I guess Jay feels that Fortran and COBOL, both of course lacking GC,
    are also suitable only for embedded defence applications???
    
    
    
    
    
    ^ permalink raw reply	[flat|nested] 101+ messages in thread
    * Re: Why C++ is successful
    @ 1998-08-06  0:00 Robert Dewar
      1998-08-07  0:00 ` harald.mueller
      1998-08-07  0:00 ` Jason Stokes
      0 siblings, 2 replies; 101+ messages in thread
    From: Robert Dewar @ 1998-08-06  0:00 UTC (permalink / raw)
    
    
    
    Lars says
    
    <<Are you saying tht GC would introduce a larger risk for incorrect
    programs than exceptions? If so, why?
    >>
    
    Most certainly! GC introduces a huge risk for incorrect programs. Garbage
    collectors assume that the pointer structure of a program is correct. If
    it is corruptede, garbage collectors can cause horrible havoc. Indeed this
    havoc often only shows up after several mark-and-sweep type cycles of the
    GC, and it can be almost impossible to track them down
    
    (said from horrible experiences in implementing general GC!)
    
    
    
    
    
    
    ^ permalink raw reply	[flat|nested] 101+ messages in thread
    * Re: Why C++ is successful
    @ 1998-08-22  0:00 dewar
      0 siblings, 0 replies; 101+ messages in thread
    From: dewar @ 1998-08-22  0:00 UTC (permalink / raw)
    
    
    <<Clarity is in the eye of the beholder. Circumstantial evidence here.uk>
    has been that the original version though correct was opaque to a
    fair proportion of readers.>>
    
    The readers who produced wrong solutions wrote complete
    nonsense, in one case
    the program was not even compiled, and had an evident infinite loop. I
    do not think that either of thes proved anything about the original,
    but I do think that it showed that it is easy to mess up the attempt
    to do this in a goto free manner. Actually I find it very odd that
    USA programmers are so allergic to gotos.
    
    <<Imagine a large program in that style... >>
    
    But that's a meaningless argument. Arguing that you don't like someone's
    green suit because it would be horrible if everyone wore green makes no
    sense. No one is arguing for wide spread use of gotos in large programs,
    so it is a useless rhetorical device to argue against this :-)
    
    Perhaps the comment about goto-holic is the right comment. Those of us
    who learned to program in a reasonable environment of Algol and Simula,
    always knew that gotos were seldom needed. The most amazing thing about
    EWD's letter, which merely pointed out an obvious fact known to all
    competent programmers for a decade before his letter was printed, was
    the huge reaction to it.
    
    I think that the problem was that a generation brought up on Forgtran
    and Basic, had never understood the idea that goto was something to be
    used only occasionally.
    
    So people avoid gotos very much like an alcoholic avoiding alcohol.
    Sometimes even in a ludicrous manner, I have often seen COBOL programs
    that did a PERFORM on a procedure that ended with STOP RUN, an obviously
    bad choice compared to a GOTO (you can see the same thing in C where people
    would never use a goto, but are happy to use exit).
    
    Note as an example that in the book ALgorithms + Data structures = Programs
    (or whatever the exact title is), Wirth is quite happy to use an occasional
    goto when he feels that it will clarify the code. Certainly I would expect
    EWD to be perfectly happy with Wirth's code in this book.
    
    -----== Posted via Deja News, The Leader in Internet Discussion ==-----
    http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum
    
    
    
    
    ^ permalink raw reply	[flat|nested] 101+ messages in thread

    end of thread, other threads:[~1998-08-22  0:00 UTC | newest]
    
    Thread overview: 101+ messages (download: mbox.gz / follow: Atom feed)
    -- links below jump to the message on this page --
         [not found] <35AE4621.2EBC7F6A@eiffel.com>
         [not found] ` <7hAr1.3249$9E2.2188373@news.teleport.com>
         [not found]   ` <35AF70B9.61C5BF88@oma.com>
         [not found]     ` <N.19980718.jjru@sisyphus.demon.co.uk>
         [not found]       ` <35B32BDC.5C2C@dmu.ac.uk>
         [not found]         ` <N.19980720.ulio@sisyphus.demon.co.uk>
         [not found]           ` <35B47EAD.3AA9@dmu.ac.uk>
         [not found]             ` <N.19980722.gwka@sisyphus.demon.co.uk>
         [not found]               ` <35B60AC4.D703E836@hso.link.com>
    1998-07-25  0:00                 ` Bug story Fergus Henderson
    1998-07-29  0:00                   ` Robert I. Eachus
         [not found] ` <6p83vj$657$1@news.intellistor.com>
         [not found]   ` <35B79E7D.6068DCDF@eiffel.com>
         [not found]     ` <6pg7fg$qhi$1@news.interlog.com>
         [not found]       ` <901533851.20058.0.nnrp-04.9e980ba3@news.demon.co.uk>
         [not found]         ` <35be2a94.57352308@netnews.msn.com>
    1998-07-28  0:00           ` Why C++ is successful Rakesh Malhotra
    1998-07-29  0:00             ` Tom Moran
    1998-07-29  0:00               ` Ell
    1998-07-29  0:00                 ` Tom Moran
    1998-07-29  0:00                   ` Ell
    1998-07-29  0:00             ` Dave Martin
    1998-07-29  0:00               ` Pat Rogers
    1998-07-29  0:00                 ` Juan Carlos Gil Montoro
    1998-07-29  0:00                   ` Pat Rogers
    1998-07-29  0:00                     ` Jay Martin
    1998-07-30  0:00                       ` dennison
    1998-07-30  0:00                     ` Ell
    1998-07-29  0:00                       ` Pat Rogers
    1998-07-30  0:00                         ` Ell
    1998-07-30  0:00                         ` Ell
    1998-07-29  0:00                       ` Larry Elmore
    1998-07-30  0:00                         ` Ell
    1998-07-30  0:00                         ` Jeffrey C. Dege
    1998-08-01  0:00                           ` Robert Dewar
    1998-07-29  0:00                 ` Brian Rogoff
    1998-07-29  0:00                   ` John McCabe
    1998-07-29  0:00                   ` Charles Hixson
    1998-07-29  0:00                     ` falis
    1998-07-30  0:00                     ` Robert I. Eachus
    1998-07-31  0:00                       ` Charles Hixson
    1998-08-01  0:00                     ` Jay Martin
    1998-08-02  0:00                       ` Robert Dewar
    1998-08-01  0:00                         ` Jay Martin
    1998-08-02  0:00                           ` Matthew Heaney
    1998-08-02  0:00                             ` Jay Martin
    1998-08-02  0:00                               ` Matthew Heaney
    1998-08-02  0:00                           ` Matthew Heaney
    1998-08-02  0:00                             ` Lars Farm
    1998-08-02  0:00                               ` Matthew Heaney
    1998-08-02  0:00                                 ` Lars Farm
    1998-08-10  0:00                               ` Robert I. Eachus
    1998-07-29  0:00               ` Jean-Pierre Rosen
    1998-07-29  0:00               ` Rakesh Malhotra
    1998-07-29  0:00               ` John McCabe
    1998-07-29  0:00                 ` nabbasi
    1998-08-08  0:00                   ` Michael Young
    1998-08-06  0:00 Robert Dewar
    1998-08-06  0:00 ` William Clodius
    1998-08-06  0:00 ` Martin Dowie
      -- strict thread matches above, loose matches on Subject: below --
    1998-08-06  0:00 Robert Dewar
    1998-08-07  0:00 ` harald.mueller
    1998-08-07  0:00   ` Brian Rogoff
    1998-08-07  0:00     ` Timothy Welch
    1998-08-08  0:00       ` Robert Dewar
    1998-08-08  0:00         ` Jeffrey C. Dege
    1998-08-08  0:00           ` Patrick Logan
    1998-08-10  0:00           ` Laurent GUERBY
    1998-08-12  0:00             ` Andy Ward
    1998-08-12  0:00               ` Matt Kennel
    1998-08-14  0:00               ` Robert Dewar
    1998-08-13  0:00                 ` nasser
    1998-08-19  0:00                   ` Don Harrison
    1998-08-14  0:00                 ` Patrick Doyle
    1998-08-16  0:00                   ` Robert Dewar
    1998-08-16  0:00                     ` Patrick Doyle
    1998-08-16  0:00                   ` Robert Dewar
    1998-08-16  0:00                     ` Patrick Doyle
    1998-08-18  0:00                     ` Martin Tom Brown
    1998-08-14  0:00                 ` Jean-Pierre Rosen
    1998-08-14  0:00                   ` Robert Martin
    1998-08-16  0:00                     ` Robert Dewar
    1998-08-16  0:00                       ` Rick Smith
    1998-08-17  0:00                         ` Robert Dewar
    1998-08-17  0:00                           ` Rick Smith
    1998-08-16  0:00                       ` Robert Martin
    1998-08-15  0:00                   ` Patrick Doyle
    1998-08-15  0:00                     ` Jean-Pierre Rosen
    1998-08-16  0:00                       ` Robert Dewar
    1998-08-17  0:00                         ` Jean-Pierre Rosen
    1998-08-16  0:00                       ` Patrick Doyle
    1998-08-15  0:00                   ` Mr Ada
    1998-08-16  0:00                     ` Robert Dewar
    1998-08-16  0:00                   ` Robert Dewar
    1998-08-14  0:00                 ` Ell
    1998-08-17  0:00                   ` Robert I. Eachus
    1998-08-17  0:00                     ` Patrick Logan
    1998-08-18  0:00                       ` Samuel Tardieu
    1998-08-11  0:00           ` stilcom
    1998-08-12  0:00             ` Jeffrey C. Dege
    1998-08-12  0:00               ` Andrew Koenig
    1998-08-14  0:00               ` Stefan Tilkov
    1998-08-08  0:00         ` Phlip
    1998-08-08  0:00         ` Larry Elmore
    1998-08-08  0:00       ` Dale Stanbrough
    1998-08-07  0:00   ` Robert Dewar
    1998-08-08  0:00     ` Patrick Logan
    1998-08-07  0:00 ` Jason Stokes
    1998-08-08  0:00   ` Robert Dewar
    1998-08-10  0:00     ` Robert I. Eachus
    1998-08-11  0:00     ` n
    1998-08-14  0:00       ` Robert Dewar
         [not found]         ` <35D455AC.9225EAA7@hercii.mar.lmco.com>
    1998-08-14  0:00           ` Robert L. Spooner
    1998-08-10  0:00   ` Darren New
    1998-08-22  0:00 dewar
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox