VVZ API is not affiliated with ETH Zurich. Data might be outdated or incorrect. Please view the official ETHZ Vorlesungsverzeichnis for binding information.
Systems Programming and Computer Architecture
Last Updated: 2026-06-03 00:07:49
Abstract
Introduction to systems programming. C and assembly language,floating point arithmetic, basic translation of C into assembler,compiler optimizations, manual optimizations. How hardware featureslike superscalar architecture, exceptions and interrupts, caches,virtual memory, multicore processors, devices, and memory systemsfunction and affect correctness, performance, and optimization.
Objective
The course objectives are for students to: 1. Develop a deep understanding of, and intuition about, the execution of all the layers (compiler, runtime, OS, etc.) between programs in high-level languages and the underlying hardware: the impact of compiler decisions, the role of the operating system, the effects of hardware on code performance and scalability, etc. 2. Be able to write correct, efficient programs on modern hardware, not only in C but high-level languages as well. 3. Understand Systems Programming as a complement to other disciplines within Computer Science and other forms of software development. This course does not cover how to design or build a processor or computer.
Content
This course provides an overview of "computers" as a platform for the execution of (compiled) computer programs. This course provides a programmer's view of how computer systems execute programs, store information, and communicate. The course introduces the major computer architecture structures that have direct influence on the execution of programs (processors with registers, caches, other levels of the memory hierarchy, supervisor/kernel mode, and I/O structures) and covers implementation and representation issues only to the extend that they are necessary to understand the structure and operation of a computer system. The course attempts to expose students to the practical issues that affect performance, portability, security, robustness, and extensibility. This course provides a foundation for subsequent courses on operating systems, networks, compilers and many other courses that require an understanding of the system-level issues. Topics covered include: machine-level code and its generation by optimizing compilers, address translation, input and output, trap/event handlers, performance evaluation and optimization (with a focus on the practical aspects of data collection and analysis).
Resources
Lecture Notes
- C programmnig- Integers- Pointers and dynamic memory allocation- Basic computer architecture- Compiling C control flow and data structures- Code vulnerabilities- Implementing memory allocation- Linking- Floating point- Optimizing compilers- Architecture and optimization- Caches- Exceptions- Virtual memory- Multicore- Devices
Literature
The course is based in part on "Computer Systems: A Programmer's Perspective" (3rd Edition) by R. Bryant and D. O'Hallaron, with additional material.
General Information
- Language
- English
- Levels
- BSC
- Frequency
- Yearly recurring
Examination
- Type
- session examination
- Mode
- written 180 minutes
- Aids
- No written aids allowed, except for a German-English dictionary.
- Digital
- The exam takes place on devices provided by ETH Zurich.
Course Components
| Type | Title | Time & Place | Hours |
|---|---|---|---|
| lecture | Systems Programming and Computer Architecture | No time listed | 4 h weekly |
| exercise |
Systems Programming and Computer Architecture
Groups are selected in myStudies.
|
No time listed | 2 h weekly |