Logo ČVUT
ČESKÉ VYSOKÉ UČENÍ TECHNICKÉ V PRAZE
STUDIJNÍ PLÁNY
2023/2024

Effective C++ programming

Přihlášení do KOSu pro zápis předmětu Zobrazit rozvrh
Kód Zakončení Kredity Rozsah Jazyk výuky
NIE-EPC Z,ZK 5 2P+1C anglicky
Garant předmětu:
Daniel Langr
Přednášející:
Daniel Langr
Cvičící:
Daniel Langr
Předmět zajišťuje:
katedra počítačových systémů
Anotace:

Students learn how to use the modern features of contemporary versions of the C++ programming language for software development. The course focuses on programming effectivity and efficiency in the form of writing maintainable and portable source code and creating correct programs with low memory and processor time requirements.

Požadavky:

Very good knowledge of the topics of the BIE-PA1 and BIE-PA2 courses, some knowledge of the topics of the BIE-SAP and BIE-OSY courses. Knowledge of BI-PA2 „extra material“ is recommended.

Osnova přednášek:

1. Introduction, observable behavior, as-if rule, optimizations, translation units, ABI

2. Translation units and observable behavior, ODR, internal linkage, inline, libraries, static and dynamic linking, PIMPL

3. Undefined behavior, object lifetime, static and dynamic storage allocation, initialization and destruction

4. Costs of dynamic allocations, alignment, padding, placement new, owning objects

5. Small string optimization

6. Expressions new[] and delete[], object content, vector class

7. Value categories, types of references, reference binding, std::move

8. Emplace semantics, perfect forwarding, dispatching

9. Templates, template instantiation, template argument deduction, template specialization, variadic templates, template parameter pack

10. Function parameter pack, concepts and constraints, SFINAE

11. Exception safety, allocators, small buffer optimization, empty base optimization, type erasure

12. Type erasure, std::function, std::any, std::variant, CRTP, ADL

Osnova cvičení:

Students solve problems related to lectures; the instructor provides consultations and advice.

Cíle studia:

The goal of the course is to learn students how to use contemporary versions of C++ programming language such that they would be able to create efficient, correct, maintainable, and portable software.

Studijní materiály:

Josuttis, The C++ Standard Library-A Tutorial and Reference

Meyers, Effective Modern C++

Prata, C++ Primer Plus

Reddy, API Design for C++

Stroustrup, Programming - Principles and Practice Using C++

Stroustrup, The C++ Programming Language

Sutter and Alexandrescu, C++ Coding Standards: 101 Rules, Guidelines, and Best Practices

Vandervoorde and Josuttis, C++ Templates - The Complete Guide

Williams, C++ Concurrency in Action

cppreference.com, www.cplusplus.com (C++ reference)

stackoverflow.com (developer forum)

isocpp.org (news, status, blogs, FAQs, discussion)

ISO/IEC 14882:2014 Information technology - Programming languages-C++

Poznámka:
Další informace:
https://courses.fit.cvut.cz/NIE-EPC/
Rozvrh na zimní semestr 2023/2024:
06:00–08:0008:00–10:0010:00–12:0012:00–14:0014:00–16:0016:00–18:0018:00–20:0020:00–22:0022:00–24:00
Po
Út
místnost T9:301
Langr D.
11:00–12:30
(přednášková par. 1)
Dejvice
NBFIT učebna
St
Čt
místnost T9:351
Langr D.
12:45–14:15
LICHÝ TÝDEN

(přednášková par. 1
paralelka 101)

Dejvice
NBFIT PC ucebna

Rozvrh na letní semestr 2023/2024:
Rozvrh není připraven
Předmět je součástí následujících studijních plánů:
Platnost dat k 17. 4. 2024
Aktualizace výše uvedených informací naleznete na adrese https://bilakniha.cvut.cz/cs/predmet6628506.html