SubjectsSubjects(version: 945)
Course, academic year 2023/2024
   Login via CAS
Programming in Rust Language - NPRG073
Title: Programování v jazyce Rust
Guaranteed by: Department of Distributed and Dependable Systems (32-KDSS)
Faculty: Faculty of Mathematics and Physics
Actual: from 2021
Semester: winter
E-Credits: 2
Hours per week, examination: winter s.:0/1, C [HT]
Capacity: unlimited
Min. number of students: unlimited
4EU+: no
Virtual mobility / capacity: no
State of the course: taught
Language: Czech
Teaching methods: full-time
Teaching methods: full-time
Additional information: https://d3s.mff.cuni.cz/teaching/nprg073
Guarantor: prof. Ing. Petr Tůma, Dr.
Classification: Informatics > Programming
Pre-requisite : NPRG031
Annotation -
Last update: doc. RNDr. Petr Hnětynka, Ph.D. (09.09.2021)
Basic course of programming in Rust.
Course completion requirements -
Last update: prof. Ing. Petr Tůma, Dr. (21.09.2021)

Credit is awarded for finishing an implementation project with assignment approved by the lecturer.

Syllabus -
Last update: prof. Ing. Petr Tůma, Dr. (21.09.2021)

1. Introduction - Example program in Rust - Tools and project structure - How simple things are done - Using libraries

2. Basic features - Documentation and best practices - Printing, formatting and debugging - Mutable and imutable variables - Value and reference passing

3. Data structures - Structured data types - Algebraic data types - Pattern matching - Error handling

4. Object life cycle - Object construction - Builder pattern - Moving, borrowing, copying, cloning - Boxed objects - Memory safety

5. Polymorphic programming - Simple templates - Traits and boxes - Practical applications

6. Concurrency - Thread safety - Ownership passing - Mutual exclusion

7. Conclusion - Questions and answers - Code from students - What next?

 
Charles University | Information system of Charles University | http://www.cuni.cz/UKEN-329.html