Skip to content

Miyukivv/Rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust

Przegląd Tematów

  1. Wprowadzenie do języka Rust – Główne cechy: bezpieczeństwo, wydajność, przenośność.
  2. Środowisko i narzędzia – Instalacja i użycie rustup, cargo, rustc, fmt, clippy i innych.
  3. Zmienne i typy proste – Typy logiczne, liczbowe, znakowe, rozmiarowe; wyrażenia i rzutowanie typów.
  4. Programowanie strukturalne – Funkcje, instrukcje warunkowe, pętle.
  5. Funkcje jako wartości pierwszego rzędu – Wykorzystywanie funkcji jako danych.
  6. Własność i czasy życia – Przekazywanie danych, przenoszenie, kopiowanie, klonowanie, współpraca z kompilatorem.
  7. Wbudowane typy złożone – Tablice, wycinki, surowe napisy, krotki.
  8. Biblioteczne typy złożone – Napisy (String), wektory (Vec).
  9. Obsługa błędów – Mechanizmy Option i Result.
  10. Programowanie funkcyjne – Domknięcia, iteratory, map, filter, fold i inne.
  11. Korzystanie z dokumentacji – Oficjalna dokumentacja języka Rust i biblioteki standardowej.
  12. Programowanie obiektowe (struktury i cechy) – Struktury, implementacje, cechy (interfejsy).
  13. Derywacja cech – Automatyczne implementowanie cech przez #[derive(...)].
  14. Programowanie obiektowe (wyliczenia) – Użycie typów enum.
  15. Dopasowywanie wzorcówmatch, if let, while let, itd.
  16. Programowanie modułowe – Moduły i hermetyzacja.
  17. Wzorzec Builder – Budowanie obiektów krok po kroku.
  18. Programowanie generyczne z własnymi cechami – Definiowanie i używanie generyków oraz cech.
  19. Wskaźniki inteligentneBox, Rc, Arc i inne.
  20. Polimorfizm dynamiczny – Obiekty cech i dynamiczne wiązanie.
  21. Czasy życia jako parametry generyczne – Zaawansowane adnotacje czasu życia.
  22. Szablony (generyki) – Pisanie elastycznego kodu z użyciem generyków.
  23. Zbiory i mapyHashSet, HashMap i inne kolekcje.
  24. Przeciążanie funkcji i operatorów – Nadpisywanie zachowań przez cechy.
  25. Testy jednostkowe – Tworzenie testów z użyciem wbudowanego frameworka.
  26. Obsługa plików tekstowych – Odczyt i zapis danych do plików.
  27. Wzorzec Typestate – Reprezentowanie stanów obiektów za pomocą typów.
  28. Zaawansowana obsługa błędów – Propagacja, kontekst, własne typy błędów.
  29. Zewnętrzne biblioteki (crates.io) – Zarządzanie zależnościami, serializacja (serde).
  30. Programowanie wielowątkowe – Wątki, kanały, Mutex, Arc.
  31. Makra – Tworzenie i używanie makr w metaprogramowaniu.

Topics Overview

  1. Introduction to Rust – Key features such as safety, performance, and portability.
  2. Environment and Tools – Setting up and using tools like rustup, cargo, rustc, fmt, clippy, and others.
  3. Variables and Primitive Types – Boolean, numeric, character, and sized types; expressions and type casting.
  4. Structured Programming – Functions, conditionals, and loop constructs in Rust.
  5. First-Class Functions – Treating functions as values.
  6. Ownership and Lifetimes – Data passing, moving, copying, cloning, and working with the borrow checker.
  7. Built-in Compound Types – Arrays, slices, raw strings, and tuples.
  8. Library Compound Types – Strings and vectors.
  9. Error Handling – Handling errors and exceptions using Option and Result.
  10. Functional Programming – Closures, iterators, map, filter, fold, and other functional paradigms.
  11. Documentation Usage – Navigating and using Rust's official and standard library documentation.
  12. Object-Oriented Programming (Structs & Traits) – Structs, implementations, and traits as interfaces.
  13. Trait Derivation – Automatically implementing traits using #[derive(...)].
  14. Object-Oriented Programming (Enums) – Working with enumerations.
  15. Pattern Matching – Using match, if let, while let, etc.
  16. Modular Programming – Modules and encapsulation.
  17. Builder Pattern – Structuring object construction with the builder design pattern.
  18. Generic Programming with Custom Traits – Defining and using generics and traits.
  19. Smart Pointers – Using Box, Rc, Arc, and other pointer types.
  20. Dynamic Polymorphism – Trait objects and runtime dispatch.
  21. Lifetimes as Generic Parameters – Advanced lifetime annotations in generics.
  22. Template-like Generics – Extensive use of generics to write flexible code.
  23. Collections – Sets and maps (HashSet, HashMap).
  24. Function and Operator Overloading – Using traits to overload behavior.
  25. Unit Testing – Writing and running tests with Rust's built-in testing framework.
  26. Text File Handling – Reading from and writing to text files.
  27. Typestate Pattern – Modeling object states at the type level.
  28. Advanced Error Handling – Propagation, context, and custom error types.
  29. Using External Libraries – Working with crates.io, dependency management, and serialization (serde).
  30. Multithreaded Programming – Using threads, channels, Mutex, and Arc.
  31. Macros – Writing and using macros for metaprogramming.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages