home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / cplus / 12600 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  1.8 KB

  1. Path: sparky!uunet!stanford.edu!agate!agate!matt
  2. From: matt@physics16.berkeley.edu (Matt Austern)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: destruction of temporaries
  5. Date: 19 Aug 92 17:02:29
  6. Organization: Lawrence Berkeley Laboratory (Theoretical Physics Group)
  7. Lines: 24
  8. Message-ID: <MATT.92Aug19170229@physics16.berkeley.edu>
  9. References: <BszApE.49v@world.std.com> <1992Aug17.073500.24115@ericsson.se>
  10.     <23466@alice.att.com> <3920@starlab.UUCP> <23487@alice.att.com>
  11. Reply-To: matt@physics.berkeley.edu
  12. NNTP-Posting-Host: physics16.berkeley.edu
  13. In-reply-to: ark@alice.att.com's message of 19 Aug 92 18:22:44 GMT
  14.  
  15. In article <23487@alice.att.com> ark@alice.att.com (Andrew Koenig) writes:
  16.  
  17. [Very clear explanation of the problems with destruction at end of
  18.  block omitted]
  19.  
  20. > Destruction at end of block is far from a hopeless approach, but I
  21. > think it loses on balance.  Indeed, there's something to be said for
  22. > almost every approach, which is why this is a knotty problem.
  23.  
  24. I have to say: the more discussion I see on this issue, the better
  25. garbage collection is beginning to sound.  These are exactly the
  26. problems that garbage collection resolves
  27.  
  28. Unfortunately, it really isn't at all clear to me that garbage
  29. collection and C++ can be made to go together very well.  Naively, it
  30. seems to me that high-quality garbage collection would be a bigger
  31. change to the language than high-quality exception handling.
  32.  
  33. --
  34. Matthew Austern              I dreamt I was being followed by a roving band 
  35. (510) 644-2618               of young Republicans, all wearing the same suit,
  36. matt@physics.berkeley.edu    taunting me and shouting, "Politically correct
  37. austern@theorm.lbl.gov       multiculturist scum!"... They were going to make
  38. austern@lbl.bitnet         me kiss Jesse Helms's picture when I woke up.
  39.