Udemyintermediateen

Rust: Building Reusable Code with Rust from Scratch

Learn Rust library development with generics, traits, and macros. Build clean, reusable, and maintainable code. Master Rust best practices for library creation.

4.4(516)
3,340students
6h 16m
Certificate
Packt Publishing
Packt PublishingTech Knowledge in Motion

Course Content

Rust: Building Reusable Code with Rust from Scratch is an intermediate-level Udemy course taught by Packt Publishing. It runs 6h 16m, is taught in English, and includes a certificate of completion. Learners rate it 4.4 out of 5 from 516 reviews, with 3,340 students enrolled. It is a paid course, first published January 2019.

Learn Rust: Systems Programming with Safety and Performance

Dive into the world of Rust, a modern systems programming language gaining popularity for its exceptional safety features, particularly safe concurrency. This comprehensive course provides a hands-on introduction to Rust, designed for developers seeking to build robust and high-performance applications. Rust seamlessly blends functional and imperative programming paradigms, offering the power of C++ with enhanced memory safety.

What you'll learn:

  • Rust Basics: Start from scratch with the fundamental syntax and concepts of Rust. You'll master defining functions, creating variables, and understanding core language principles.
  • Toolchain Management: Learn to set up and manage the Rust toolchain to build your first command-line program.
  • Rust Type System: Explore Rust's powerful type system to write more reliable and maintainable code. Apply these concepts to practical examples, including a simple markup language project.
  • Functional Programming in Rust: Utilize Rust's functional programming features to tackle complex problems, such as building a physics simulation. Leverage the Rayon crate for efficient parallelization of your computations.
  • Cargo & RustDoc: Master Cargo, Rust's package manager, and RustDoc for building a well-documented, tested, and usable crate with a well-defined API.
  • Code Reuse Techniques: Discover various methods for code reuse, including loops, map, filter, and fold, to optimize your development workflow and resource utilization.
  • Traits & Generics: Unlock advanced techniques like traits and generics to create highly adaptable and reusable code.
  • Macros & Modularization: Learn to leverage macros and organize your code into modules and crates for efficient development and potential publication on crates.io.
  • Building Reusable Code: Eliminate code duplication and write clean, maintainable code by applying advanced Rust features.

Course Overview:

This training program comprises two interconnected courses for comprehensive Rust mastery.

Course 1: Learning Rust

This initial course lays the groundwork for building robust Rust applications. You'll progress from basic syntax to advanced concepts, culminating in the creation of a well-structured and documented crate. Gain confidence in leveraging Rust's powerful type system and extensive ecosystem of libraries ("crates") managed by Cargo.

Course 2: Building Reusable Code with Rust

This course focuses on maximizing development efficiency through code reuse. You'll learn to design and implement code that adapts to various scenarios using techniques like traits, generics, and macros. Organize your code into modules and crates, preparing it for potential distribution on crates.io. By the end of this course, you'll be proficient in avoiding code duplication and writing clean, reusable Rust code.

Benefits of learning Rust:

  • Enhanced Performance: Rust delivers performance comparable to C and C++.
  • Memory Safety: Eliminate common memory-related bugs like dangling pointers and data races.
  • Concurrency Made Safe: Write concurrent code without the fear of data races.
  • Rich Ecosystem: Access a vast collection of libraries and tools through Cargo.
  • Modern Language: Enjoy a clean and expressive syntax.
$ whoami — the devs behind tutorialsearch.io

Need a web app built? Hire the team behind TutorialSearch.io

We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.

skillshare
5.0(479)
3h 33m
all
skillshare
5.0
2h 42m
intermediate
pluralsight
skillshare