Lehrstuhl Informatik II   
Sprachen und Beschreibungsstrukturen      
   Home Lehre Wintersemester 13/14 Vorlesungen Program Optimization login

Program Optimization

Dozent:Prof. Dr. Helmut Seidl
Ort/Zeit:Mo. 14:00-15:30 in 00.08.038 + Mi. 8:30-10:00 in 00.13.009A
ModulNummer:IN2053
Beschreibung:    This course is about standard techniques used to optimize general purpose programming languages. How to avoid redundant computation, replace expensive computations with cheaper ones, and/or exploit hardware.

 

News:

About the course:

The lecture is meant for students in their Hauptstudium or in their Master studies who are interested in compiler technology. The lecture is part of practical computer science.

Programs which we write should be both efficient and easily to maintain. In particular, maintainability means that programs should be well-structured and easily understandable also by humans. Being well-structured and easily readable, though, may often come at the price oft a degradation in efficiency at run-time.

For this reason, most compilers offer an optimization phase in which the source program is analyzed and where various transformations are applied to automatically improve efficiency. In some cases, it may happen that the attempt for improvement overshoots the target and results in programs which are perhaps fast but are no longer equivalent to the original program.

In the lecture, we give an overview over standard techniques for improving the quality of the generated code. In particular, we are interested in methods which guarantee that the resulting code still is equivalent to the source program.

Slides:

Labs

All informations about the tutorial can be found on the Moodle-Page.

  • Tuesday at 10:30 AM in room 02.07.014
  • Thursday at 10:00 AM in room 02.07.014

Tele-Teaching:

Literature:

  • Seidl, Wilhelm, Hack: Übersetzerbau: Analyse und Transformation, Springer, 2010
  • Seidl, Wilhelm, Hack: Compiler Design: Analysis and Transformation. Springer, 2012
  • Muchnick: Advanced Compiler Design and Implementation. Morgan Kaufmann, 1997
  • Wilhelm, Maurer: Übersetzerbau. Theorie, Konstruktion, Generierung. Springer, 1992
  • Nielson, Nielson, Hankin: Principles of Program Analysis. Springer, 2005
  • Knoop: Optimal interprocedural program optimization: A new framework and its application. Springer, 1998

 



TUM - Lehrstuhl Informatik II (Sprachen und Beschreibungsstrukturen) Thanks: Tango and TinyMCE     Generationszeit: 10 ms