Course Code: rustfun
Duration: 14 hours
Prerequisites:
  • An understanding of basic programming concepts
  • Experience with at least one programming language (preferrably C or C++)

Audience

  • Developers
Overview:

Rust is a modern systems-level programming language known for its memory safety, concurrency, and performance. 

This instructor-led, live training (online or onsite) is aimed at beginner to intermediate-level developers who are new to Rust and wish to build a solid foundation in the language.

By the end of this training, participants will be able to:

  • Understand Rust's features and architecture.
  • Set up the development environment.
  • Write basic Rust programs.
  • Integrate Rust with existing codebases.
  • Troubleshoot common issues.

Format of the Course

  • Interactive lecture and discussion.
  • Lots of exercises and practice.
  • Hands-on implementation in a live-lab environment.

Course Customization Options

  • To request a customized training for this course, please contact us to arrange.
Course Outline:

Introduction

  • What is Rust?
  • Rust vs other programming languages
  • Overview of Rust features and architecture

Understanding Rust

  • The lifecycle of a Rust program
  • How Rust fits in with other languages
  • Rust's approach to memory safety and concurrency

Getting Started

  • Setting up the Development Environment
  • Installing Rust as a programming toolchain
  • Configuring the Rust environment
  • Using the Cargo package manager

Basic Syntax and Concepts

  • Variables and data types
  • Control flow and loops
  • Functions and modules
  • Ownership and borrowing in Rust

Structs, Enums, and Pattern Matching

  • Defining and using structs
  • Creating and matching enums
  • Pattern matching in Rust

Error Handling

  • Dealing with errors using Result and Option types
  • Handling panics with panic! and unwrap()
  • Writing custom error types

Modules and Packages

  • Organizing code in Rust
  • Creating and using modules
  • Building and publishing Rust packages with Cargo

Testing and Documentation

  • Writing tests in Rust
  • Using the built-in testing framework
  • Documenting Rust code with comments and docstrings

Concurrency Basics

  • Introduction to concurrency in Rust
  • Creating and managing threads
  • Synchronization and message passing

Integrating Rust with existing codebases

  • Interfacing Rust with other programming languages
  • Calling Rust functions from C or C++ code
  • Exposing Rust APIs to other languages

Common Idioms and Best Practices

  • Exploring common Rust coding styles
  • Following Rust community conventions
  • Utilizing popular libraries and frameworks

Troubleshooting

  • Identifying and resolving common issues in Rust programs

Summary and Next Steps

Sites Published:

United Arab Emirates - Rust Fundamentals

Qatar - Rust Fundamentals

Egypt - Rust Fundamentals

Saudi Arabia - Rust Fundamentals

South Africa - Rust Fundamentals

Brasil - Rust Fundamentals

Canada - Rust Fundamentals

中国 - Rust Fundamentals

香港 - Rust Fundamentals

澳門 - Rust Fundamentals

台灣 - Rust Fundamentals

USA - Rust Fundamentals

Österreich - Rust Fundamentals

Schweiz - Rust Fundamentals

Deutschland - Rust Fundamentals

Czech Republic - Rust Fundamentals

Denmark - Rust Fundamentals

Estonia - Rust Fundamentals

Finland - Rust Fundamentals

Greece - Rust Fundamentals

Magyarország - Rust Fundamentals

Ireland - Rust Fundamentals

Luxembourg - Rust Fundamentals

Latvia - Rust Fundamentals

España - Rust Fundamentals

Italia - Rust Fundamentals

Lithuania - Rust Fundamentals

Nederland - Rust Fundamentals

Norway - Rust Fundamentals

Portugal - Rust Fundamentals

România - Rust Fundamentals

Sverige - Rust Fundamentals

Türkiye - Rust Fundamentals

Malta - Rust Fundamentals

Belgique - Rust Fundamentals

France - Rust Fundamentals

日本 - Rust Fundamentals

Australia - Rust Fundamentals

Malaysia - Rust Fundamentals

New Zealand - Rust Fundamentals

Philippines - Rust Fundamentals

Singapore - Rust Fundamentals

Thailand - Rust Fundamentals

Vietnam - Rust Fundamentals

India - Rust Fundamentals

Argentina - Rust Fundamentals

Chile - Rust Fundamentals

Costa Rica - Rust Fundamentals

Ecuador - Rust Fundamentals

Guatemala - Rust Fundamentals

Colombia - Rust Fundamentals

México - Rust Fundamentals

Panama - Rust Fundamentals

Peru - Rust Fundamentals

Uruguay - Rust Fundamentals

Venezuela - Rust Fundamentals

Polska - Rust Fundamentals

United Kingdom - Rust Fundamentals

South Korea - Rust Fundamentals

Pakistan - Rust Fundamentals

Sri Lanka - Rust Fundamentals

Bulgaria - Rust Fundamentals

Bolivia - Rust Fundamentals

Indonesia - Rust Fundamentals

Kazakhstan - Rust Fundamentals

Moldova - Rust Fundamentals

Morocco - Rust Fundamentals

Tunisia - Rust Fundamentals

Kuwait - Rust Fundamentals

Oman - Rust Fundamentals

Slovakia - Rust Fundamentals

Kenya - Rust Fundamentals

Nigeria - Rust Fundamentals

Botswana - Rust Fundamentals

Slovenia - Rust Fundamentals

Croatia - Rust Fundamentals

Serbia - Rust Fundamentals

Bhutan - Rust Fundamentals

Nepal - Rust Fundamentals

Uzbekistan - Rust Fundamentals