Re: What is a restructuring compiler?

nmm1@cus.cam.ac.uk (Nick Maclaren)
30 Oct 2004 22:45:19 -0400

          From comp.compilers

Related articles
What is a restructuring compiler? hzmonte@hotmail.com (2004-10-21)
Re: What is a restructuring compiler? nmm1@cus.cam.ac.uk (2004-10-23)
Re: What is a restructuring compiler? hzmonte@hotmail.com (2004-10-25)
Re: What is a restructuring compiler? nmm1@cus.cam.ac.uk (2004-10-30)
Re: What is a restructuring compiler? silviusr@yahoo.com (Silvius Rus) (2004-10-30)
Re: What is a restructuring compiler? pohjalai@cc.helsinki.fi (A Pietu Pohjalainen) (2004-10-30)
Re: What is a restructuring compiler? news1@oregonw.com (M Wolfe) (2004-11-29)
| List of all articles for this month |
From: nmm1@cus.cam.ac.uk (Nick Maclaren)
Newsgroups: comp.compilers
Date: 30 Oct 2004 22:45:19 -0400
Organization: University of Cambridge, England
References: 04-10-143 04-10-164 04-10-178
Keywords: optimize
Posted-Date: 30 Oct 2004 22:45:19 EDT

hzmonte <hzmonte@hotmail.com> wrote:
>> Once a compiler has parsed and analysed its code, it can do many
>> things to it. It can turn as much of it into vector operations as
>> possible; it can separate out independent threads; it can rearrange
>> the code to obfuscate its history; it can optimise it for a register
>> machine; and so on. All of those operations are restructuring, and
>> differ solely in their purpose.
>
>I assume this restructuring is for optimization; so, a restructuring
>compiler is one kind of an optimizing compiler? If that's the case,
>why would there exist a restructuring compiler by itself? ...
>
>[Actually, there are. They rewrite programs to make them more amenable
>to other kinds of optimization. -John]


Or to be more maintainable. The Toolpack project and the NAGWare
tools include restructuring compilers for that purpose among others.




Regards,
Nick Maclaren.



Post a followup to this message

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