Compiler Design, Lec 0: Before Class, Introduction

Lec 0: Introduction

Compiler

What is a Compiler

Def: In computing, a compiler is a computer program that translates computer code written in one programming language(the source language) into another language(the target language)

Why Do We Need Compilers

Reason:

Because your CPU doesn't understand the high-level languages(Needing tranlation from compiler)

Example:

A compiler(Ex: gcc, g++), typically translate a high-level language(Source language) into low-level language, as it, assembly code or machine code(Target languge)

Who May Need Knoweledge in the Compiler Design Course?

4 kinds person for who

wants to know how the compiler works
Ex: interseting facts on your error msg

wants to design a new language by themselves
Ex: A new mechanism for compiler on translating

wants to optimize the performance of a compiler
Ex: Parallesism when performing matrix operations

wants to design a new CPU/GPU architecture
Ex: Know how hardware design and compiler technologies affect them.

Text Book

"Compilers: Principles, Techniques, and Tools", 2/e, Addision Wesley, 2006

关于作者: 网站小编

码农网专注IT技术教程资源分享平台,学习资源下载网站,58码农网包含计算机技术、网站程序源码下载、编程技术论坛、互联网资源下载等产品服务,提供原创、优质、完整内容的专业码农交流分享平台。

热门文章