home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,669 of 2,753   
   Tony Finch to Matthias-Christian Ott   
   Re: Static Garbage Collection   
   26 May 09 01:17:14   
   
   From: dot@dotat.at   
      
   Matthias-Christian Ott  wrote:   
   >   
   >Suppose we have a goto-free, pointer-less, static strongly typed   
   >programming language without any binary libraries (so all source code   
   >is available at compile time).   
   >   
   >Then we could construct the control flow graph for the entire programme.   
   >   
   >Couldn't we than statically (of course depending on conditions during   
   >runtime) determine the locations for the appropriate malloc() and free()   
   >calls, depending on if a referenced object is no longer used?   
      
   Yes. The technique is called "region inference".   
      
   Tony.   
   --   
   f.anthony.n.finch    http://dotat.at/   
   PORTLAND PLYMOUTH BISCAY: WESTERLY OR NORTHWESTERLY 5 TO 7, VEERING   
   NORTHEASTERLY 4 OR 5 LATER IN SOUTH BISCAY. MODERATE OR ROUGH. RAIN BECOMING   
   MAINLY FAIR. MODERATE OR GOOD.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca