Skip to content
UdemySoftware DevelopmentPaid courseIntermediate levelCertificate

Rust: Building Reusable Code with Rust from Scratch (Udemy.com)

Use generics, traits, and macros to write clean and reusable Rust libraries that are easy to understand and maintain

Created by: Packt Publishing

Last updated January 2019

icon
What you will learn

  • This course is aimed at developers, C/C++, Rust & System developers who are familiar with programming and want to learn how to code in Rust and re-use Rust code and libraries from scratch.

How it compares

Against the other 518 rated Udemy courses in Software Development on CourseDuck:

  • Rating4.5 out of 5higher than 41% of them
  • Reviews522#221 of 519 by number of reviews
  • Length6.3 hoursshorter than 51% of them
  • Last updatedJanuary 2019earlier than 93% of them

icon
Course Description

Rust is a systems programming language with a focus on safety, especially safe concurrency, supporting both functional and imperative paradigms, syntactically similar to C++, but its designers intend it to provide better memory safety while still maintaining performance.

With this hands-on, practical course, you’ll begin from scratch by getting familiar with the basic syntax and concepts of Rust, defining functions and creating variables & much more. Then you'll learn to test your code by building a simple crate with a tested, usable, well-documented API using Cargo & RustDoc. Next, you will work with different forms of code reuse, loops, map, filter and fold to save time and resources & to use your code in a reusable manner in your apps.

By end of this course you will be able to avoid code duplication and write clean reusable code,  also you'll be comfortable building various solutions in Rust

Contents and Overview

This training program includes 2 complete courses, carefully chosen to give you the most comprehensive training possible.

The first course, Learning Rust begins by getting familiar with the basic syntax and concepts of Rust, from writing a Hello World program to defining functions and creating variables. Then you’ll see how to manage toolchains with Rust up and build your first command-line program. Moving on, you’ll explore Rust’s type system to write better code and put it into practice in a simple markup language. You’ll learn to use Rust’s functional programming features to perform a physics simulation and use the Rayon crate to parallelize your computations. Finally, you’ll discover the best practices and test your code by building a simple crate with a tested, usable, well-documented API using Cargo and RustDoc. By the end of the video, you’ll be comfortable building various solutions in Rust. You’ll be able to take advantage of Rust’s powerful type system and a rich ecosystem of libraries, or “crates”, available through the Cargo package manager.

The second course, Building Reusable Code with Rust will start with teaching you how to build reusable Rust code so that you can stop copying and pasting the code. Write code that can adapt to many different usages. You will reuse code by using advanced features such as traits, generics, and macros. You will work with different forms of code reuse, loops, map, filter and fold to save time and resources. Achieve higher-level reuse without sacrificing runtime performance. Organize your code into modules and crates to publish them to crates .io. By the end of the course, you will be able to avoid code duplication and write clean reusable code.

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Packt Publishing

Packt are an established, trusted, and innovative global technical learning publisher, founded in Birmingham, UK with over eighteen years experience delivering rich premium content from ground-breaking authors and lecturers on a wide range of emerging and established technologies for professional development.


Packt’s purpose is to help technology professionals advance their knowledge and support the growth of new technologies by publishing vital user focused knowledge-based content faster than any other tech publisher, with a growing library of over 9,000 titles, in book, e-book, audio and video learning formats, our multimedia content is valued as a vital learning tool and offers exceptional support for the development of technology knowledge.


We publish on topics that are at the very cutting edge of technology, helping IT professionals learn about the newest tools and frameworks in a way that suits them.

icon
More courses by Packt Publishing

$64.99

$11.99

$11.99

$59.99

$59.99

$29.99

icon
More Software Development courses

$10.99

$109.99

$19.99

$19.99

$94.99

$94.99

icon
Reviews

4.5

522 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Thomas Hunt on 11/26/2023

This series is pretty good, it would be one of my top recommendations. Although, while some of the examples don't work out of the box a little doc review can help resolve the issues.

By Buğrahan Kara on 6/17/2022

I highly suggest that take this course as your second course, please take another Rust course before because this course is not suitable for first beginners. For the first part, it is about general Rust tutorial and I found it successfull but not for zero beginner person. For the second part, they are going to deep of some Rust rules but not continue in regularly. The details in second part, is really important to absorb behind of Rust, I liked it because generally other courses pass these points.

By Dallas Kidd on 4/7/2022

This course is divided into two parts with two different instructors. Overall, it’s a helpful course for getting started. It’s pretty easy to listen to and easy to follow. The examples are small, so you can just type them up yourself for practice (instead of downloading it) and compile and run them yourself. The lectures are short and approachable. But there are some small mistakes in some of the examples for the first part of the course, and some things are glossed over that I think need more explanation (even in a brief introduction). Some key features aren’t mentioned. This course is enough to get you started with learning Rust code, but it’s nowhere near enough to do what you need to for most programs (probably not even basic ones). You’ll have to get the Rust book and try stuff on your own to get there.

By Marcin Radecki on 11/9/2020

The materials are in general well prepared, but some minor mistakes can be spotted in them, which takes 0.5 point out of total score for me (e.g. last question in Test 2, some answers seem does not match at all to question asked). In general I enjoyed course, however I read rust book before attempting it. In my opinion course covers more material, but I think around 75% overlapped so for me it was rather a reminder (though some things were new, e.g. declarative macros). What definetely can be improved imho is excercises. The whole course has 6.5hours of lectures and two tests, which imho are rather checkups not final tests. Their completion lasts no more than 5 minutes each, which gives ration excercises to lectures around 2.5%, where in my opinion should be at least 50%, to make course more interactive.

By Nenad Novakovic on 8/23/2020

Before purchase, I watched the available preview lessons. These lessons were from one instructor (Section 1.) and then there's another instructor (Section 2.) which I did not see in preview lessons, otherwise, I wouldn't make a purchase. The first instructor was OK to watch, but the second one had the poor audio quality and was a bit painful to watch and listen to. There were no advanced topics covered and there were no project examples.

By Suraj Kurapati on 5/31/2020

The second quiz is badly written: the first and last questions (and their multiple choice answers) don't make any sense. The second section also has low volume in all videos (difficult to hear).

By Harry Yoon on 1/13/2020

Overall, it was a good class. It wasn't entirely clear to me when I registered for this class, but the class actually comprised two courses (by two different instructors). The first one was more or less a crash course to basic Rust. I personally did not find it very useful. I think cursory intro courses like this satisfy no one. If you are absolutely new to Rust, this kind of courses will not make much sense. If you have some experience with Rust, on the other hand, then they will provide very little new. I didn't know what to expect from the very general/broad title of the class, but the second course provides some core features of Rust such as generics, traits, and macros, etc. It also went through some common traits and macros from the standard library. I was looking for a little bit more advanced topics, and its content was a little bit outdated (like "extern crate", "try!", but nothing major), but I wasn't totally disappointed. I thought it was a good refresher for me. Time well spent.

By Braeden Foster on 1/6/2020

This is a fantastic course, I have spent a while trying to understand the odd nuances of Rust, and this course explains in a concise manner, right from the basic to more advanced topics. What I thought was odd in Rust, now makes total sense!

By Angel Figueroa on 11/22/2019

the course is good to grasp a bit for rust, the only thing is one of the exercises describing default implementations on traits is not okay. It's trying to access struct fields in this case self.name, and that's not possible. just minor issue.

By Ragib Badaruddin on 10/3/2019

I really like this course so far. The instructor walks through the initial parts of Rust at a good pace. There is a good mix of external references, such as walking us through the crates.io, and getting our hands dirty with installing rust and writing some code. Initial intro of the course uses an online playground IDE, which allows the student to easily get comfortable with the language. The pace might be a bit fast, but just replay the parts you don't understand. It is not boring at all. When I first started with rust, I didn't quite get how iterators work. The instructor here, gives a simple but understandable breakdown explanation.

Showing all 10 reviews on CourseDuck

Read all 522 reviews on Udemy

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 90 / 100