Packt
Advanced Rust – Lifetimes, Iterators, Testing & Randomness

Découvrez de nouvelles compétences avec 30 % de réduction sur les cours dispensés par des experts du secteur. Économisez maintenant.

Ce cours n'est pas disponible en Français (France)

Nous sommes actuellement en train de le traduire dans plus de langues.
Packt

Advanced Rust – Lifetimes, Iterators, Testing & Randomness

Inclus avec Coursera Plus

Obtenez un aperçu d'un sujet et apprenez les principes fondamentaux.
niveau Intermédiaire

Expérience recommandée

3 semaines à compléter
à 10 heures par semaine
Planning flexible
Apprenez à votre propre rythme
Obtenez un aperçu d'un sujet et apprenez les principes fondamentaux.
niveau Intermédiaire

Expérience recommandée

3 semaines à compléter
à 10 heures par semaine
Planning flexible
Apprenez à votre propre rythme

Ce que vous apprendrez

  • Understand and apply lifetimes in Rust for memory safety.

  • Master iterators and their methods to efficiently handle collections.

  • Write comprehensive tests and apply Test-Driven Development (TDD) in Rust.

  • Integrate randomness and work with time using the rand and chrono crates.

Compétences que vous acquerrez

  • Catégorie : Software Documentation
  • Catégorie : Development Testing
  • Catégorie : Real Time Data
  • Catégorie : Debugging
  • Catégorie : Maintainability

Détails à connaître

Certificat partageable

Ajouter à votre profil LinkedIn

Récemment mis à jour !

août 2025

Évaluations

9 devoirs

Enseigné en Anglais

Découvrez comment les employés des entreprises prestigieuses maîtrisent des compétences recherchées

 logos de Petrobras, TATA, Danone, Capgemini, P&G et L'Oreal

Élaborez votre expertise du sujet

Ce cours fait partie de la Spécialisation Learn to Code with Rust
Lorsque vous vous inscrivez à ce cours, vous êtes également inscrit(e) à cette Spécialisation.
  • Apprenez de nouveaux concepts auprès d'experts du secteur
  • Acquérez une compréhension de base d'un sujet ou d'un outil
  • Développez des compétences professionnelles avec des projets pratiques
  • Obtenez un certificat professionnel partageable

Il y a 8 modules dans ce cours

In this module, we will dive deep into Rust's lifetime system, exploring concrete lifetimes, non-lexical lifetimes, and their application in function parameters and structs. You’ll also learn how to avoid invalid lifetimes and reinforce your understanding with practical examples.

Inclus

19 vidéos2 lectures1 devoir1 plugin

In this module, we will cover closures in Rust, from their basic syntax to more advanced usage, including capturing references, ownership, and using traits like Fn and FnMut. You will practice using closures in real-world scenarios through a project.

Inclus

16 vidéos1 devoir1 plugin

In this module, we will explore Rust’s powerful iteration system, including iterator methods for transforming, filtering, and reducing data. You will practice iterating over various data structures and solving problems through hands-on projects.

Inclus

39 vidéos1 devoir1 plugin

In this module, we will explore how to write tests in Rust, covering unit and integration tests, assertion macros, and advanced techniques like TDD and dependency injection. You will practice writing and running tests to ensure your code is robust and reliable.

Inclus

24 vidéos1 devoir1 plugin

In this module, we will introduce the rand crate, teaching you how to generate random numbers and manipulate data randomly in Rust. You’ll get hands-on experience applying randomness to a project, reinforcing your understanding of Rust's randomness capabilities.

Inclus

5 vidéos1 devoir1 plugin

In this module, we will explore the chrono crate for handling date and time in Rust. You’ll learn to work with NaiveDate, DateTime, and TimeDelta, manipulating and formatting time and converting between timezones. By the end of the module, you’ll be ready to implement date and time logic in your applications.

Inclus

10 vidéos1 devoir1 plugin

In this module, we will introduce the regex crate for powerful pattern matching in Rust. You’ll learn to search, extract, and replace text using regular expressions, and explore advanced features like anchors, capture groups, and more. By the end of this module, you’ll be able to apply regular expressions to solve real-world problems efficiently.

Inclus

16 vidéos1 devoir1 plugin

In this module, we’ll congratulate you on your hard work and accomplishments in mastering advanced Rust topics. You’ll review the journey from lifetimes and closures to testing and randomness, solidifying your skills for continued growth in Rust programming.

Inclus

1 vidéo1 lecture2 devoirs

Obtenez un certificat professionnel

Ajoutez ce titre à votre profil LinkedIn, à votre curriculum vitae ou à votre CV. Partagez-le sur les médias sociaux et dans votre évaluation des performances.

Instructeur

Packt - Course Instructors
Packt
915 Cours193 837 apprenants

Offert par

Packt

En savoir plus sur Software Development

Pour quelles raisons les étudiants sur Coursera nous choisissent-ils pour leur carrière ?

Felipe M.
Étudiant(e) depuis 2018
’Pouvoir suivre des cours à mon rythme à été une expérience extraordinaire. Je peux apprendre chaque fois que mon emploi du temps me le permet et en fonction de mon humeur.’
Jennifer J.
Étudiant(e) depuis 2020
’J'ai directement appliqué les concepts et les compétences que j'ai appris de mes cours à un nouveau projet passionnant au travail.’
Larry W.
Étudiant(e) depuis 2021
’Lorsque j'ai besoin de cours sur des sujets que mon université ne propose pas, Coursera est l'un des meilleurs endroits où se rendre.’
Chaitanya A.
’Apprendre, ce n'est pas seulement s'améliorer dans son travail : c'est bien plus que cela. Coursera me permet d'apprendre sans limites.’
Coursera Plus

Ouvrez de nouvelles portes avec Coursera Plus

Accès illimité à 10,000+ cours de niveau international, projets pratiques et programmes de certification prêts à l'emploi - tous inclus dans votre abonnement.

Faites progresser votre carrière avec un diplôme en ligne

Obtenez un diplôme auprès d’universités de renommée mondiale - 100 % en ligne

Rejoignez plus de 3 400 entreprises mondiales qui ont choisi Coursera pour les affaires

Améliorez les compétences de vos employés pour exceller dans l’économie numérique

Foire Aux Questions