Introduction to Rust Programming

15 Ratings

Course Number: RUST-102
Duration: 3 days (19.5 hours)
Format: Live, hands-on

Rust Training Overview

This Introduction to Rust training course teaches attendees the Rust programming fundamentals needed to design and implement their first Rust application. This class can be taught in English or French.

Location and Pricing

This course is taught as a private, live online class for teams of 3 or more. All our courses are hands-on, instructor-led, and tailored to fit your group’s goals and needs. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for online corporate training, please contact us.

In addition, we offer some courses as live, instructor-led online classes for individuals.

Objectives

  • Think like a rustacean
  • Write idiomatic Rust code
  • Compile and test code
  • Choose the appropriate data structure
  • Use the documentation and most common libraries
  • Understand Rust's strengths and weaknesses
  • Design and implement their first application in Rust

Prerequisites

All attendees must have basic programming experience and knowledge of the Linux/Unix environment.

Outline

Expand All | Collapse All

Introduction
  • How is Rust different?
    • Execution time
    • Error management
    • Safety
    • Multithreading
  • Programming paradigms
Basics
  • Primitive types
  • Functions
  • Variables and mutability
  • Control flow
  • Structured data types
  • Enumerations (enum, match, Option)
Understanding Ownership and References
  • Ownership
  • References and Borrowing
  • Slices
  • Lifetime
  • Types that contain references
Advanced Types
  • Collections (String, Vec, HashMap)
  • Iterators
  • Error management (Result, propagation, panic)
  • Closures
Generics
  • Generic types
  • Trait bounds
  • Standard traits
    • Operator overloading
Development Environment
  • Installing and configuring Rust (rustup, system packages)
  • Using the compiler and build system (rustc, cargo)
  • The Cargo package manager (cargo and crates.io)
  • Unit testing
  • Documentation: rustdoc
  • Environments and IDE
Multithreading
  • Inter-thread communication
  • Data sharing
  • Trait Send and Sync
Advanced Rust
  • Macros
  • Using C/C++ code inside Rust
  • Using Rust code inside C/C++
  • Unsafe Rust
Standard Libraries and Ecosystem
  • std::*
    • Serializing using serde
    • Non-blocking IO using tokio
    • Querying databases
    • Web server
Conclusion

Training Materials

All Rust training students receive comprehensive courseware.

Course materials © 2021 Cénotélie, France. All rights reserved.

Software Requirements

A complete, remote virtual environment is provided for training and is accessible via the Internet from any modern web browser.



Related Topics

Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan