Course : Rust Advanced

Building High-Performance, Secure Applications with Rust

Practical course - 3d - 21h00 - Ref. RUY
Price : 1650 € E.T.

Rust Advanced

Building High-Performance, Secure Applications with Rust


New course

Deepen your mastery of Rust by leveraging its advanced memory management mechanisms (complex ownership, nested lifetimes) and mastering the language’s idiomatic patterns. Develop high-performance, secure applications by implementing concurrent programming without data races, low-level optimization, and advanced use of traits, generics, and zero-cost abstractions.


INTER
IN-HOUSE
CUSTOM

Practical course in person or remote class
Disponible en anglais, à la demande

Ref. RUY
  3d - 21h00
1650 € E.T.




Deepen your mastery of Rust by leveraging its advanced memory management mechanisms (complex ownership, nested lifetimes) and mastering the language’s idiomatic patterns. Develop high-performance, secure applications by implementing concurrent programming without data races, low-level optimization, and advanced use of traits, generics, and zero-cost abstractions.


Teaching objectives
At the end of the training, the participant will be able to:
Use the features that allow operator overloading
Mastering Titles and Credits
Designing and Writing Asynchronous and Multithreaded Programs
Interfacing with Python, C, and C++

Intended audience
Developers, project managers, architects.

Prerequisites
Practical experience with Rust or completion of the RUX course.

Practical details
Hands-on work
Demonstrations and hands-on exercises will help participants apply the concepts covered.
Teaching methods
Each new theoretical concept will be immediately applied in a practical way.

Course schedule

1
A Review of Generics, Traits, and Standard Traits in Rust

  • Reminders about moving, borrowing, and returning.
  • String Formatting in Rust.
  • The Orphan Rule and “Coverage Implementation.”
  • Implement the features that enable operator overloading.
  • Design using features related to references, such as AsRef, Deref, and Borrow.
  • The different types of closures: Fn, FnMut, FnOnce.
Hands-on work
Implementation of standard features.

2
Rust Project Structure

  • Manage multiple projects using workspaces.
  • Make features optional using features.
  • Compilation profiles for performance, debugging…
Demonstration

3
Rust macros for automating code generation

  • Declarative macros.
  • The different types of procedural macros.
Hands-on work
Writing a macro.

4
Asynchrony in Rust

  • The `async` and `await` keywords to retrieve a result from the "Future"
  • Survey and wake-up call.
  • "Pin" and "Unpin" features for self-referencing objects.
Hands-on work
Implementation of asynchronous code.

5
Multithreading with Rust

  • Starting a Thread and Safe Concurrency
  • Rust Locks: Mutex and RwLock
  • Exchanging Data Between Threads Using Channel<T>
  • Send and Sync features for passing objects to threads
  • Sending an inter-thread signal using Condvar and simple modifications with Atomic
  • Modify a global variable
Hands-on work
Multithreaded code synchronization using a lock

6
Error Handling

  • Reminders on Error Handling and Error Propagation
  • Best Practices for Handling Errors
  • Handling an Error with &dyn or Box<dyn Error>
Hands-on work

7
Integrating Rust with C/C++ and Python

  • Calling Rust Code from C/C++
  • Calling C/C++ code from Rust: unsafe code
  • Calling Rust Code from Python
Hands-on work



This programme is an original creation, developed by the teaching teams at ORSYS Formation. Any reproduction, representation, adaptation or use, in whole or in part, without the prior written authorisation of ORSYS, is strictly prohibited. ORSYS reserves the right to take any action necessary to protect its intellectual property rights.

Dates and locations
Select your location or opt for the remote class then choose your date.
Remote class

Dernières places
Date garantie en présentiel ou à distance
Session garantie

REMOTE CLASS
2026 : 1 Dec.

2027 : 31 Mar., 30 June, 29 Sep., 15 Dec.

PARIS LA DÉFENSE
2027 : 31 Mar., 30 June, 29 Sep., 15 Dec.



This programme is an original creation, developed by the teaching teams at ORSYS Formation. Any reproduction, representation, adaptation or use, in whole or in part, without the prior written authorisation of ORSYS, is strictly prohibited. ORSYS reserves the right to take any action necessary to protect its intellectual property rights.