PV264 Advanced Programming in C++

Faculty of Informatics
Autumn 2020
Extent and Intensity
2/2/0. 3 credit(s) (plus extra credits for completion). Type of Completion: k (colloquium).
Teacher(s)
RNDr. Nikola Beneš, Ph.D. (lecturer)
Mgr. Lukáš Korenčik (seminar tutor)
Mgr. Jan Mrázek (seminar tutor)
RNDr. Vladimír Štill (seminar tutor)
Bc. Adam Matoušek (assistant)
Guaranteed by
RNDr. Nikola Beneš, Ph.D.
Department of Computer Systems and Communications - Faculty of Informatics
Supplier department: Department of Computer Systems and Communications - Faculty of Informatics
Prerequisites (in Czech)
PB161 C++ Programming
Course Enrolment Limitations
The course is also offered to the students of the fields other than those the course is directly associated with.
fields of study / plans the course is directly associated with
there are 37 fields of study the course is directly associated with, display
Course objectives
The goal of this course is to expose students to advanced usage of the C++ programming language.
Learning outcomes
At the end of the course the students should be able to: use the C++ language (in the newest standard) on an advanced level; use various programming techniques, notably generic, functional and parallel programming; understand the principles of memory and resource management in C++; debug, test and profile C++ programs using appropriate tools; be able to use modern C++ idioms and design patterns.
Syllabus
  • Introduction to the ISO C++17 and ISO C++20 standards
  • Build process; Debugging and testing
  • Functional programming in C++, lambda functions, algorithms
  • Move semantics: rvalue references, forwarding
  • Resource management, smart pointers, the RAII idiom
  • Profiling and optimizations
  • Generic programming and meta-programming using templates (variadic templates, SFINAE, ...)
  • Modern C++ idioms (CRTP, tags)
  • Parallel programming in modern C++: threads, atomic, introduction to lock-free data structures
  • Concepts
  • The future of the standard library: Ranges
Literature
  • MEYERS, Scott. Effective modern C++. First edition. Beijing: O'Reilly, 2014. xv, 315. ISBN 9781491903995. info
Teaching methods
Theoretical lectures combined with practical exercises and programming homework; group project in the second half of the semester. The lectures are going to be given in English; some of the practical seminars will be taught in Czech (depends on the students' preferences).
Assessment methods
Two programming homework assignments, one group project in the second half of the semester (groups of up to three students), project presentation, peer review.
Language of instruction
English
Further comments (probably available only in Czech)
The course is taught annually.
The course is taught: every week.
Teacher's information
Recommended reference guide: cppreference.com
The course is also listed under the following terms Spring 2017, Spring 2018, Spring 2019.
  • Enrolment Statistics (recent)
  • Permalink: https://is.muni.cz/course/fi/autumn2020/PV264