Rust Essentials: Building Better Software

Course 2330

  • Duration: 2 days
  • Language: English
  • Level: Intermediate

Rust has held the “most loved language” spot since the Stack Overflow Developer survey started asking the question. Why? If you are developing applications that need to be fast and/or secure, Rust has your back. Traditional systems level programming languages, such as C/C++, are struggling to scale to the demands of the industry they serve. Given the growth of the cloud infrastructure that is a sweet-spot for Rust, and the continued support of developers and top-tier tech companies, Rust looks to have a rosy future and should be part of any current, or aspiring, systems developer's learning path. Rust is not only for systems developers, but data scientists also who are working with large simulation or machine learning models require both accuracy and performance. Rust delivers in these areas.

Rust Essentials: Building Better Software Delivery Methods

  • Hands-On labs included

  • Learning Tree Exam

  • After-course instructor coaching

  • After-course sandbox

Rust Essentials: Building Better Software Course Benefits

Basic syntax

Lifetimes, ownership and borrowing

Data structures

Error handling

Modularization

The Rust toolchain

Rust Essentials: Building Better Software Course Outline

  • Introduction and Overview
    • What is Rust?
    • Rust Notebooks
    • JupyterLab
  • Getting Started with Rust

    • Install Rust
    • Create and build applications
    • Configure a development environment
  • Language Fundamentals

    • Features of Rust
    • Define variables
    • Evaluate expressions
    • Perform conditional logic
    • Repeat operations using loops
  • Ownership

    • Understand how Rust manages memory/resources through its unique ownership system
  • Functions

    • Define functions (and subroutines)
    • Distinguish expressions from statements
    • Specify function references
    • Build higher-order functions
  • Enums and Pattern Matching

    • Use Enums to strongly type data
    • Harness Rust’s powerful pattern matching capabilities to process data
  • Structs

    • Organize data using structs
    • Encapsulate data and behaviour using methods
  • Collections

    • Review the collection data structures available in Rust
    • Manage lists of data using vectors
    • Organize data into dictionaries using hash maps
    • Manipulate strings
  • Error Handling

    • Report unrecoverable errors in Rust apps
    • Handle recoverable errors
  • Generics

    • Reduce duplication by writing code that can handle different types of data
  • Crates and Modules

    • Organize apps into units
    • Build compilation units (crates)
    • Develop logical units (modules)
    • Hide implementation details using visibility controls in modules
  • Course Summary

Need Help Finding The Right Training Solution?

Our training advisors are here for you.

Rust Essentials: Building Better Software FAQs

No, this course is for experienced developers. We recommend you take Learning Tree Python Fundamentals Training for Non-Programmers if you wish to get started in programming

No. Rust can be seen as a more modern route to developing efficient, robust software.

Python performance comes from its ability to call efficient native libraries that are traditionally written in C/C++. Now, with PyO3 (https://pyo3.rs/), these libraries can be written in Rust.

Rust has excellent support for developing WebAssembly (WASM) applications (https://www.rust-lang.org/what/wasm). Rust produces the fast, bloat-free code that is ideal for WASM applications. Mastering WASM development future-proofs your career as a frontend developer.

Mostly because it has a modern syntax and toolchain---making it a pleasure to work with. Also, if your programs compile, they are more likely to be free of errors. Developers prefer the compiler to catch errors than for them to surface at runtime.

It’s possible, but we advise getting some real-world software development experience before taking this course.

Absolutely. Rust can produce applications and libraries targeting all these platforms.

Very. AWS, Google, Huawei and Microsoft and Mozilla are founding platinum members of the Rust Foundation. Facebook is also a platinum member. All those organizations are using Rust. The Linux community is actively considering how they can start developing parts of the OS in Rust.

The course uses VS Code and Linux. However, most of the content is equally applicable to other IDEs (e.g., CLion) and OSes (e.g., Windows, macOS).

Chat With Us