home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / cplus / 12893 < prev    next >
Encoding:
Text File  |  1992-08-25  |  934 b   |  21 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!microsoft!hexnut!jimad
  3. From: jimad@microsoft.com (Jim Adcock)
  4. Subject: Re: destruction of temporaries
  5. Message-ID: <1992Aug25.175751.8117@microsoft.com>
  6. Date: 25 Aug 92 17:57:51 GMT
  7. Organization: Microsoft Corporation
  8. References: <3920@starlab.UUCP> <23487@alice.att.com> <MATT.92Aug19170229@physics16.berkeley.edu>
  9. Lines: 10
  10.  
  11. In article <MATT.92Aug19170229@physics16.berkeley.edu> matt@physics.berkeley.edu writes:
  12. |Unfortunately, it really isn't at all clear to me that garbage
  13. |collection and C++ can be made to go together very well.  Naively, it
  14. |seems to me that high-quality garbage collection would be a bigger
  15. |change to the language than high-quality exception handling.
  16.  
  17. Implementation-wise they amount to about the same thing -- the hard part
  18. is changing a compiler's knowledge of the stack so that it is known at
  19. runtime when what objects where on the stack are alive or not.
  20.  
  21.