Advanced Rust Training

This advanced training is aimed at Rust developers who wish to discover the most advanced aspects of the language, such as advanced aspects of traits and ownership, which pave the way for discussing more advanced notions, such as encapsulation, concurrency, collections, etc. All sections include exercises that participants solve during the session, with the help of the trainers.

Program

Warm-up

  • Global state: const and static
  • The Turbo fish

Going further with Traits

  • The Trait coherence rule
  • Fundamental Traits of the standard library
  • Traits and lifetimes (Add, Mul)
  • Advanced trait bounds

Advanced Ownership

  • Diving into borrowing rules
  • Lifetime subtyping
  • Storing references
  • Implementing traits for references

      Smart Pointers

    • Reminder: the heap and the stack
    • Box
    • (A)Rc

    Fearless Concurrency

    • Send and Sync
    • Launching threads
    • Scoped threads

    Dynamic Dispatch

    • Trait objects
    • Heterogeneous collections
    • Trait objects and lifetime bounds

    Async Rust

    • Introduction: asynchronous programming
    • Under the hood: Future and Waker
    • Pinning memory

    Unsafe Rust and FFI

    • The powers of unsafe
    • Raw pointers
    • Unsafe traits and functions
    • Basics of FFI
    • Calling Rust from C and vice versa

Next Sessions

  • February 4-6 2025
  • April 8-10 2025
  • June 10-12 2025
  • June 24-26 2025
  • October 7-9 2025
  • December 9-11 2025

Advanced Rust Training

Duration: 3 days Practice: 50%
Price: 2000 EUR/person. excl. taxes
Pre-requisites
  • Functional Programming
  • Rust Language
Public
  • Developers
Pedagological Objectives
  • Use traits and master ownership in advanced cases
  • Choose the most suitable types for your applications
  • Write a concurrent multithreaded program
  • Write asynchronous code
  • Master higher-order programming
  • Call Rust from C and vice versa
Quality Indicators
  • Mean satisfaction score: 18.5/20
  • Success Rate: 100%

Version: 2024-07-02

Arthur Carcano (Rust)

Arthur is an R&D developer at OCamlPro. Arthur obtained his PhD in statistical methods at Institut Pasteur in 2022. Arthur has been a daily user of Rust for more than 5 years, whether for numerical computations during his doctorate as much as for system tools that he develops for our projects.

Useful Information

Contact

You can contact us using the form on top of every course description, or by email at contact@ocamlpro.com.

Delayed access timeframe

Since our trainings are organised upon request within two months after the first contact, the access timeframe may vary depending on your specific needs and custom training conditions which will all be agreed upon prior to the course.

Registration and course modalities

Our courses may either be done remotely or physically.

Prior to the course:

  • Either a meeting or a survey to identify your needs and expectations.
  • Shipment of administrative papers such as: written agreement, welcome booklet and rules of procedure.
  • Shipment of everything required to guarantee the good conduct of the course: external ressources, and custom instructions alike.

During the course:

  • The attendee goes to the designated location with his/her personal computer.
  • Time slots for our on-site Inter Corporation Trainings are the following:
    • Start - 9:30AM
    • Lunch Break - 12:00PM to 01:00PM
    • End - 05:30PM
  • Evaluations throughout the duration of the course (quizzes, tests and experimentations).

End the course:

  • Presentation of a certificate of training.
  • Auto-evaluation quizz.
  • A hot feedback form on the quality of the course.

After the course:

  • A cold feedback form on your satisfaction (roughly three months after the course)

Methods used and modalities for evaluation

Our courses may welcome a maximum of ten attendees and the number of tutors may vary between one and two depending on the amount of practical tasks in the course.

Parameters such as the number of attendees and their overall skill level will affect pedagogical modalities such as the number of pratical tasks, guided discussions, collaborative development, etc.

Courses may include small projects to develop independently to help consolidate the acquired knowledge.

The ressources are written by the OCamlPro team prior to the courses. Documents are generally written in english and can be translated to french if need be.

We make the progress of our trainees and its evaluation a core aspect of our courses. Indeed, guaranteeing the durable acquisition of the skills at hand is key, especially for the newer comers. To that extent, we will have trainees undergo tailored group works, exercises and hands-on practice which modalities can all be customised to your specific needs.

Accessibility, handicap

Preliminary studies are done prior to every training to guarantee the quality of the course by tweaking the pedagogical modalities and take into consideration any handicap communicated during the first stages of the registration. We are at your disposal to answer your every question and other queries at: contact@ocamlpro

Funding by OPCO and CPF

The funding of the training by the OPCO is possible as OCamlPro has received the Qualiopi certification. The two following conditions must then be attained:

  • The funding must cover all expenses relative to the course.
  • The funding agreement must get to us five days prior to the training session at the latest.

Our trainings do not yet deliver certicates or official qualifications and thus cannot be funded by your personnal CPF.