Newsgroups: comp.lang.smalltalk,comp.object,comp.lang.c++,comp.lang.java
Path: cantaloupe.srv.cs.cmu.edu!bb3.andrew.cmu.edu!newsfeed.pitt.edu!gatech!newsfeed.internetmci.com!in2.uu.net!alexandria.organon.com!alexandria!jsa
From: jsa@organon.com (Jon S Anthony)
Subject: Re: The Good, the Bad, the Ugly, and the Wicked ...
In-Reply-To: rmartin@oma.com's message of 10 Apr 1996 18:33:35 GMT
Message-ID: <JSA.96Apr11153135@organon.com>
Followup-To: comp.lang.smalltalk,comp.object,comp.lang.c++,comp.lang.java
Sender: news@organon.com (news)
Organization: Organon Motives, Inc.
References: <31570B8E.5A12@vmark.com> <4je5rq$7qg@mimas.brunel.ac.uk>
	<4jes0t$gth@decaxp.HARVARD.EDU> <31630E30.5A02@oma.com>
	<4kbq3q$1i8@gaia.ns.utk.edu> <JSA.96Apr9131057@organon.com>
	<RMARTIN.96Apr10133335@rcm.oma.com>
Date: Thu, 11 Apr 1996 19:31:35 GMT
Lines: 45
Xref: glinda.oz.cs.cmu.edu comp.lang.smalltalk:37131 comp.object:47446 comp.lang.c++:184101 comp.lang.java:39360

In article <RMARTIN.96Apr10133335@rcm.oma.com> rmartin@oma.com (Robert C. Martin) writes:

> Robert C. Martin (rmartin@oma.com) wrote:
> 
>    > : Malloc and new can *always* be made to be deterministic.  That is
>    > : one of the major attractions to manual memory management in 
>    > : real time systems.  You can use malloc/free (new/delete) pairs which are
>    > : 100% predictable.
>    > 
> 
> mbk@caffeine.engr.utk.edu (Matt Kennel) writes:
>    > Are they?  Have you gone through the all the possible orderings of
>    > previous 'new' and 'malloc' so that you ***KNOW*** exactly
>    > what the internal heap structures are so that subsequent calls to 
>    > 'malloc' and 'new' and 'free' take a known amount of time?
> 
> jsa@organon.com (Jon S Anthony) writes:
> 
>    Actually, it is even worse than you are suggesting as Malloc/new and
>    free are not necessarily very predictable and can exhibit "bad" behavior
>    depending on their use.
> 
> You missed my point.  new/delete can *always be made* to be completely
> deterministic.  Consider:
> 
> [example...]

1. Yes, we (Matt and I) both missed your point (assuming it was the
   one you are now claiming) - probably because this is not what you
   said.

2. You seem to miss the fact that in my message I state the very point
   you are now making.


/Jon
-- 
Jon Anthony
Organon Motives, Inc.
1 Williston Road, Suite 4
Belmont, MA 02178

617.484.3383
jsa@organon.com

