Skip to main content

CS304: Compilers

Page path
  • Home /
  • Courses /
  • Course Catalog /
  • Computer Science /
  • CS304: Compilers /
  • Unit 9: Code Optimization
Back to course 'CS304: Compilers'
  • Unit 9: Code Optimization

    Simply compiling and executing a program is not enough to get the most out of your code. It is the optimization process that allows your code to run as effectively and efficiently as possible. In this unit, we will first take a look at optimization, learning what it is and why we are interested in it. Next, we will review different optimization categories, including Peephole, Local, Loop, Language Dependent, and Machine Dependent. We will conclude with a discussion of different optimization techniques. By the end of this unit, you will have a basic understanding of a wide range of optimization techniques and how they improve the effectiveness of your program.

    Completing this unit should take you approximately 22 hours.

    • Unit 9 Learning Outcomes Page
    • 9.1: The What and Why of Code Optimizations

    • 9.2: Fundamentals of Code Optimization

    • 9.3: Local Intermediate Code Optimizations: Definitions and Examples

    • 9.4: Global Intermediate Code Optimizations: Definitions and Examples

    • 9.5: Code Optimization

    • 9.6: Verification and Validation of Code Optimization

Navigation

Art History
Biology
Business Administration
Chemistry
Communication
Economics
English
History
Mathematics

Creative Commons License
© Saylor Academy 2010-2018 except as otherwise noted. Excluding course final exams, content authored by Saylor Academy is available under a Creative Commons Attribution 3.0 Unported license. Third-party materials are the copyright of their respective owners and shared under various licenses. See www.saylor.org/open/licensinginformation for detailed licensing information.

Saylor Academy and Saylor.org® are trade names of the Constitution Foundation, a 501(c)(3) organization through which our educational activities are conducted.

Terms of Use | Privacy Policy