Re: Compile Time Garbage Collection impossible?

torbenm@app-3.diku.dk (=?iso-8859-1?q?Torben_=C6gidius_Mogensen?=)
28 Sep 2006 22:50:54 -0400

          From comp.compilers

Related articles
[6 earlier articles]
Re: Compile Time Garbage Collection impossible? gneuner2@comcast.net (George Neuner) (2006-09-25)
Re: Compile Time Garbage Collection impossible? liekweg@ipd.info.uni-karlsruhe.de (Florian Liekweg) (2006-09-25)
Re: Compile Time Garbage Collection impossible? gah@ugcs.caltech.edu (glen herrmannsfeldt) (2006-09-25)
Re: Compile Time Garbage Collection impossible? torbenm@app-0.diku.dk (2006-09-25)
Re: Compile Time Garbage Collection impossible? liekweg@ipd.info.uni-karlsruhe.de (Florian Liekweg) (2006-09-26)
Re: Compile Time Garbage Collection impossible? alewando@fala2005.com (A.L.) (2006-09-28)
Re: Compile Time Garbage Collection impossible? torbenm@app-3.diku.dk (2006-09-28)
Re: Compile Time Garbage Collection impossible? sleepingsquirrel@yahoo.com (Greg Buchholz) (2006-09-28)
Re: Compile Time Garbage Collection impossible? bobduff@shell01.TheWorld.com (Robert A Duff) (2006-09-30)
Re: Compile Time Garbage Collection impossible? danwang74@gmail.com (Daniel C. Wang) (2006-09-30)
Re: Compile Time Garbage Collection impossible? gah@ugcs.caltech.edu (glen herrmannsfeldt) (2006-09-30)
Re: Compile Time Garbage Collection impossible? int2k@gmx.net (Wolfram Fenske) (2006-09-30)
Re: Compile Time Garbage Collection impossible? scgupta@yahoo.com (Satish Chandra Gupta) (2006-10-03)
[1 later articles]
| List of all articles for this month |

From: torbenm@app-3.diku.dk (=?iso-8859-1?q?Torben_=C6gidius_Mogensen?=)
Newsgroups: comp.compilers
Date: 28 Sep 2006 22:50:54 -0400
Organization: Department of Computer Science, University of Copenhagen
References: 06-09-119 06-09-136 06-09-143
Keywords: GC

Florian Liekweg <liekweg@ipd.info.uni-karlsruhe.de> writes:


> Torben Ęgidius Mogensen wrote:


>> [...] the programmer may have to program with regions
>> in mind, sometimes doing things somewhat differently than he would
>> with RTGC.
>
> Programming "with regions in mind" is very much like programming with
> explicit, manual memory management in mind, except that you don't get
> to deallocate single objects (which, come to think of it, isn't much
> of a restriction).


An important difference between programming with regions in mind and
manual memory management is that region analysis guarantees that you
don't deallocate too early, which is not generally the case with
manual memory management.


> Programming with "what will the compiler do with this program" in
> mind would seem to be more of a torture, though.


I think most programmers do exactly that. And you can argue that you
need to have a good model of what the compiler does to understand what
happens in, say, virtual method calls.


Torben


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.