comp.lang.ada
 help / color / mirror / Atom feed
From: Mike Charlton <mikechar@nortel.ca>
Subject: Re: The great Java showcase (re: 2nd historic mistake)
Date: 1997/08/29
Date: 1997-08-29T00:00:00+00:00	[thread overview]
Message-ID: <1jwoh6hm2mr.fsf@nortel.ca> (raw)
In-Reply-To: dewar.872791474@merv


dewar@merv.cs.nyu.edu (Robert Dewar) writes:

> James P. White <jim@pagesmiths.com> wrote in article
> <3404670B.C3A2C4A2@pagesmiths.com>...
> > Even though Java lacks anything as comprehensive as DBC, in our
> > experience the simple matter of having automatic memory management and
> > pointer protection has yielded a productivity boost of several hundred
> > percent.
> 
> If automatic memory management really cut down your development time by
> a factor of several, I hate to think of what on earth you were doing to
> waste that much time previously. Sure memory management problems can be
> persnickety, but if they are taking up 80% of your time, something is
> VERY wrong with the way you are writing programs.

A couple of people have said that Robert's statement is a cheap shot.  I'd
have to disagree.  I think the difference of opinion comes about from
different ways of measuring productivity.

Automatic memory management will surely not affect the requirements stage.
It should only slightly affect the design stage (the design will be different,
but you really don't have to spend all that much time worrying about memory
issues).  In coding, it will have some effect on productivity, but if you
have some experienced programmers, it shouldn't be more than 20-30% of the 
time (IMHO).  Back end testing shouldn't uncover too many issues (especially
if you have already used a memory checking program like Purify).  So again,
20-30% of your time should be plenty.

Support and maintenance is another question.  Tracking down memory problems
is a real pain.  In my experience, 10 or 15% of issues are memory related.
They also take an inordinate amount of time to deal with.  Making sure you
have good code reviews should keep this to a minimum, though.

Anyway, I agree with Robert.  If you are spending 80% (or even 50%) of your
time *for the whole project* on memory issues, you have some serious
problems (lack of code inspections and inexperienced people qualify as
serious problems with me).

I have worked with both large C++ projects and large projects using
a proprietary language with automatic memory management.  Yes, with C++
we spent a lot of time thinking about memory.  However, using automatic
memory management, we spent a lot of time thinking about performance.
I'd say it's a bit of a toss up.  No one solution will work well for
every problem.

           Mike





  parent reply	other threads:[~1997-08-29  0:00 UTC|newest]

Thread overview: 112+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-25  0:00 The great Java showcase (re: 2nd historic mistake) Bertrand Meyer
1997-08-26  0:00 ` BruceMount
     [not found]   ` <5u0nil$atg@mulga.cs.mu.OZ.AU>
1997-08-28  0:00     ` not
1997-08-28  0:00     ` Richard A. O'Keefe
     [not found]       ` <5u3o1n$hu5@mulga.cs.mu.OZ.AU>
1997-08-28  0:00         ` Nick Leaton
1997-09-15  0:00       ` Tim Ottinger
1997-09-16  0:00         ` W. Wesley Groleau x4923
1997-08-28  0:00   ` Brett J. Stonier
     [not found]     ` <JSA.97Aug28182029@alexandria.organon.com>
     [not found]       ` <3406C150.3EE5EE0E@stratasys.com>
1997-08-29  0:00         ` Jon S Anthony
1997-08-29  0:00           ` Jay Martin
1997-08-29  0:00             ` Jon S Anthony
1997-09-02  0:00             ` W. Wesley Groleau x4923
1997-09-15  0:00       ` Tim Ottinger
1997-08-26  0:00 ` Flavius.Vespasianus
     [not found] ` <JSA.97Aug26153546@alexandria.organon.com>
     [not found]   ` <34034658.7DE14518@eiffel.com>
1997-08-27  0:00     ` Jon S Anthony
     [not found] ` <3402FD4D.C196785B@brightwood.com>
1997-08-27  0:00   ` Patrick Doyle
1997-08-28  0:00   ` Paul Johnson
1997-08-28  0:00     ` Jeff Brown
1997-08-28  0:00     ` Robert Dewar
1997-08-29  0:00       ` Paul Johnson
1997-08-28  0:00     ` Brett J. Stonier
1997-08-27  0:00 ` James P. White
1997-08-27  0:00   ` Robert Dewar
     [not found]   ` <34047A7D.62319AC4@eiffel.com>
1997-08-27  0:00     ` Bertrand Meyer
1997-08-27  0:00       ` Matthew S. Whiting
1997-08-28  0:00         ` Flavius.Vespasianus
1997-08-28  0:00       ` James P. White
1997-08-28  0:00       ` Mike Coffin
1997-08-29  0:00         ` Robert Dewar
1997-08-30  0:00           ` James P. White
1997-08-31  0:00           ` Jon S Anthony
1997-08-29  0:00       ` Dennis Weldy
1997-09-03  0:00         ` Charles Ditzel
     [not found]   ` <01bcb38a$8ddc1200$1c10d30a@ntwneil>
1997-08-28  0:00     ` James P. White
1997-08-28  0:00     ` Robert Dewar
1997-08-29  0:00       ` Lee Webber
1997-08-28  0:00     ` Robert Dewar
1997-08-28  0:00       ` James P. White
     [not found]         ` <EFnKuI.4rI@ecf.toronto.edu>
1997-08-29  0:00           ` Memory management techniques -- was Re: The great Java showcase Jon S Anthony
1997-08-30  0:00         ` The great Java showcase (re: 2nd historic mistake) Bert Bril
1997-08-31  0:00           ` Jay Martin
1997-08-29  0:00       ` Lee Webber
1997-08-29  0:00       ` Mike Charlton [this message]
     [not found]         ` <N.19970829.uput@sisyphus.demon.co.uk>
1997-09-02  0:00           ` Mike Charlton
1997-09-03  0:00             ` Dave Sparks
     [not found]       ` <EFn8CI.D9p@ecf.toronto.edu>
1997-08-29  0:00         ` Peter Hermann
1997-08-29  0:00         ` Laurent Guerby
     [not found]           ` <EFonoz.AFC@ecf.toronto.edu>
1997-08-29  0:00             ` Samuel Mize
1997-08-29  0:00         ` Arthur Nelson
1997-08-29  0:00           ` Patrick Doyle
1997-09-01  0:00             ` Robert Dewar
1997-08-29  0:00         ` Robert Dewar
1997-08-30  0:00           ` Patrick Doyle
1997-08-31  0:00           ` Jon S Anthony
1997-09-01  0:00             ` Robert Dewar
1997-09-02  0:00               ` Jon S Anthony
1997-09-05  0:00                 ` Robert Dewar
1997-09-06  0:00                   ` Jon S Anthony
     [not found] <5tvvsj$lh2$1@news2.digex.net>
1997-08-27  0:00 ` W. Wesley Groleau x4923
1997-08-27  0:00   ` W. Wesley Groleau x4923
1997-08-27  0:00 ` Jeff Brown
1997-08-28  0:00   ` Patrick Doyle
1997-08-28  0:00     ` Robert Dewar
1997-08-28  0:00 ` Brett J. Stonier
1997-08-28  0:00   ` Jon S Anthony
1997-08-29  0:00     ` James P. White
1997-08-29  0:00   ` Paul Johnson
1997-08-29  0:00     ` Brett J. Stonier
1997-08-29  0:00     ` Dennis Weldy
     [not found]     ` <5u6ovi$5kb$1@news2.digex.net>
1997-09-01  0:00       ` Paul Johnson
  -- strict thread matches above, loose matches on Subject: below --
1997-08-29  0:00 Ell
1997-08-29  0:00 Ell
1997-08-29  0:00 ` Brett J. Stonier
1997-08-29  0:00 ` Jon S Anthony
1997-08-29  0:00 ` Robert Dewar
1997-08-29  0:00   ` Jay Martin
1997-08-30  0:00   ` Joachim Durchholz
1997-08-30  0:00   ` Patrick Doyle
1997-08-30  0:00     ` Jay Martin
1997-09-01  0:00   ` Paul Johnson
1997-09-01  0:00     ` Robert Dewar
1997-09-02  0:00       ` Jeff Kotula
1997-09-02  0:00       ` Martin Tom Brown
1997-09-02  0:00       ` Matthew S. Whiting
1997-09-03  0:00         ` Robert Munck
1997-09-05  0:00         ` Robert Dewar
1997-09-02  0:00       ` Veli-Pekka Nousiainen
1997-09-08  0:00       ` Richard A. O'Keefe
1997-09-13  0:00         ` Mark S. Hathaway
1997-09-16  0:00           ` Des  Kenny
1997-10-28  0:00           ` John English
1997-09-16  0:00         ` Des  Kenny
1997-09-16  0:00           ` Robert Dewar
1997-09-05  0:00     ` Darren New
1997-09-02  0:00   ` W. Wesley Groleau x4923
1997-09-05  0:00     ` Robert Dewar
1997-09-15  0:00   ` Tim Ottinger
1997-09-16  0:00     ` Robert Dewar
1997-09-16  0:00     ` Joachim Durchholz
1997-09-18  0:00       ` Robert Dewar
1997-08-30  0:00 BruceMount
1997-09-04  0:00 Marin David Condic, 561.796.8997, M/S 731-96
     [not found] <97090916235363@psavax.pwfl.com>
1997-09-11  0:00 ` Robert Dewar
1997-09-15  0:00 Ell
1997-09-16  0:00 ` Tim Ottinger
1997-09-17  0:00 ` Doc
1997-09-17  0:00 Ell
1997-09-17  0:00 Ell
1997-09-16  0:00 ` Mark Wilden
1997-09-17  0:00 ` Robert B. Love 
1997-09-17  0:00 ` Joachim Durchholz
1997-09-17  0:00 Ell
replies disabled

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