Rust - Unsafe Programming (RUST6)

Programming, Rust

Explore when to step beyond Rust's safety model and use unsafe correctly, how to interoperate with other languages, and how to build optimized data structures with clear trade-offs between safety and performance.

See when generics and safe Rust fall short and you must use unsafe code; learn to enforce invariants with runtime checks, design safe abstractions, and safely combine FFI and low-level concurrency for flexible systems work.

Location, current course term

Contact us

Custom Customized Training (date, location, content, duration)

The course:

Hide detail
  • Programming without restrictions
    1. Rust 2018/2021
    2. Bypassing static analysis
    3. Assuming responsibility
  • Responsibility model
    1. Borrow checker guarantees
    2. Runtime enforcement of guarantees
    3. Validating data-structure usage
  • Working with raw pointers
    1. Classic pointers
    2. Direct memory manipulation
    3. Safe interfaces
  • Unsafe functions and methods
    1. Standard library
    2. Custom unsafe functions
    3. External functions (FFI)
  • Intrusive data structures
    1. Systems programming
    2. Linked lists
    3. Trees and graphs
  • Synchronization tools
    1. Shared data
    2. Concurrent access
    3. Safe abstractions
  • Partitioning data structures
    1. Communication mechanisms
    2. Data partitioning
    3. Parallelizing access
Assumed knowledge:
Basic Rust knowledge and experience with systems programming.
Recommended previous course:
Rust - Design Patterns (RUST5)
Schedule:
3 days (9:00 AM - 5:00 PM )
Course price:
736.00 € ( 890.56 € incl. 21% VAT)
Language: