Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Rust Basics and Core Concepts

Packt via Coursera

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
This course features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. Rust is a powerful programming language known for its speed, memory safety, and concurrency features. In this course, you'll gain a solid foundation in Rust, from installation to mastering its syntax and core concepts. By the end of this course, you will be comfortable writing and compiling Rust programs, understanding variables, data types, and control flow mechanisms, and applying these concepts to real-world projects. You'll also explore the essential tools like Cargo for project management and VSCode for efficient coding. The journey begins with setting up your development environment, followed by an in-depth look into variables, mutability, and data types. You’ll learn how to work with different data types such as integers, strings, and booleans and gain an understanding of Rust’s unique features like ownership, borrowing, and pattern matching. The course also covers functions, control flow, and recursion, preparing you to write efficient, clean, and idiomatic Rust code. Ideal for anyone looking to learn systems programming, this course is beginner-friendly, with no prior experience required. Whether you're new to programming or transitioning from another language, this course will help you build a strong understanding of Rust and prepare you for more advanced topics.

Syllabus

  • Getting Started
    • In this module, we will introduce you to Rust and guide you through the installation and setup process on both macOS and Windows. You will also learn how to create your first project and run it using various tools like Cargo and Visual Studio Code.
  • Variables and Mutability
    • In this module, we will dive into how to manage variables in Rust, focusing on immutability, mutability, and variable shadowing. Additionally, you'll explore constants, type aliases, and how to handle debugging and errors in Rust effectively.
  • Data Types
    • In this module, we will cover Rust’s data types, focusing on their declaration, usage, and formatting. You will explore the language's flexibility in handling various data, including arrays and generics, and practice using traits to display values effectively.
  • Functions
    • In this module, we will introduce you to functions in Rust, covering everything from defining and using parameters to managing return values. You will gain a clear understanding of function blocks and the unit type in a hands-on project.
  • Control Flow
    • In this module, we will explore Rust’s control flow structures, including conditionals, loops, and pattern matching with match. You will also learn about recursion and how to apply these tools in your projects for robust, efficient code.

Taught by

Packt - Course Instructors

Reviews

Start your review of Rust Basics and Core Concepts

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.