SubjectsSubjects(version: 970)
Course, academic year 2024/2025
   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 2024 to 2024
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: not taught
Language: Czech
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
Is incompatible with: NPRG082
Annotation -
REPLACED BY COURSE NPRG082 Basic course of programming in Rust.
Last update: Hnětynka Petr, doc. RNDr., Ph.D. (27.08.2024)
Course completion requirements -

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

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

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?

Last update: Tůma Petr, prof. Ing., Dr. (21.09.2021)
 
Charles University | Information system of Charles University | http://www.cuni.cz/UKEN-329.html