Duke University

Rust Fundamentals

This course is part of Rust Programming Specialization

Noah Gift
Alfredo Deza

Instructors: Noah Gift

10,312 already enrolled

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
4.1

(101 reviews)

Beginner level

Recommended experience

40 hours to complete
3 weeks at 13 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
4.1

(101 reviews)

Beginner level

Recommended experience

40 hours to complete
3 weeks at 13 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Apply Rust's core concepts like ownership, borrowing, and lifetimes to write efficient, reliable, and safe code.

  • Use Rust's advanced features like enums, structs, traits, and generics to build robust applications.

  • Develop, document, test and debug Rust projects using Cargo, Rust Analyzer, and other tools in the Rust ecosystem.

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

8 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

Placeholder

Build your subject-matter expertise

This course is part of the Rust Programming Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate
Placeholder
Placeholder

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV

Share it on social media and in your performance review

Placeholder

There are 4 modules in this course

This week, you will learn how to optimize your Rust development workflow using powerful tools such as programming suggestions, prompts with Copilot, and GitHub Codespaces. By diving into the lessons on programming with suggestions, using prompts with Copilot, and exploring the fundamentals of Codespaces, you will acquire the skills to streamline your coding process and collaborate more efficiently with others.

What's included

23 videos13 readings4 assignments1 discussion prompt

This week, you will dive into the essential concepts of control flow, error handling, and functions in Rust programming. By exploring the lessons on conditional statements, loops (including the while and for loops), break and continue statements, match control flow, and error handling, you will gain a solid understanding of how to effectively control the flow of your code and handle errors. Additionally, you will explore the fundamentals of functions in Rust, including unit functions, return values, using arguments, and the borrowing concept.

What's included

24 videos11 readings2 assignments7 ungraded labs

This week, you will learn about various data structures and types in Rust. We'll cover defining structs, creating instances, and associated functions. Additionally, you'll explore string manipulation using String and str types. The course will also touch upon vectors, covering value retrieval and element addition. You'll gain familiarity with enums, including the Option enum and its applications, as well as using vectors with enums. Lastly, we'll focus on exhaustive matches for handling enum cases. Practical assessments throughout the course will reinforce your understanding of Rust's data structures and types.

What's included

21 videos7 readings1 assignment8 ungraded labs

This week you will explore advanced topics related to code organization, testing, documentation, and library development. By delving into the lessons on verifying code with doctest, working with public and private modules, managing public and private fields, organizing test files, writing tests for your code, testing private code, using test failure messages effectively, and documenting your code, you will acquire the necessary skills to create robust and well-structured Rust projects.

What's included

22 videos12 readings1 assignment8 ungraded labs

Instructors

Instructor ratings
4.5 (40 ratings)
Noah Gift
Duke University
40 Courses139,151 learners

Offered by

Duke University

Recommended if you're interested in Machine Learning

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

Showing 3 of 101

4.1

101 reviews

  • 5 stars

    57.42%

  • 4 stars

    19.80%

  • 3 stars

    8.91%

  • 2 stars

    5.94%

  • 1 star

    7.92%

M
5

Reviewed on Oct 18, 2024

J
5

Reviewed on Jan 22, 2024

CP
5

Reviewed on Apr 30, 2024

New to Machine Learning? Start here.

Placeholder

Open new doors with Coursera Plus

Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions