Rust Programming Recipes

Course

Online

£ 10 + VAT

Description

  • Type

    Course

  • Methodology

    Online

  • Start date

    Different dates available

Take your apps to the next level with Rust.This video course features application-specific recipes to boost your development of real-world apps by integrating Rust units into your existing applications, even those written in another language. Geared towards those already familiar with the basics of Rust, this course will take you through solutions that will allow you to use Rust code samples right away in your existing applications.You will learn key techniques that Rust uses to write scalable code, including advanced-level concepts such as error handling, macros, fearless concurrency, and zero cost abstractions such as futures, and create an HTTP server that reads from a database. We'll cover some of the many benefits of working in Rust as you write systems-level software. We'll move on to add our Rust code into existing C and Python applications so that you can learn how to integrate our new fast and safe code into other environments.By the end of the course, you will have a strong foundational knowledge in server-side programming, enabling you to deliver solutions to build high-performance web applications and services using Rust.This Github liink to this video course is here: About the AuthorMatthew Stoodley is a programming expert and enthusiast and was drawn to learn about Rust and master its features initially due to its low power usage and memory safety capabilities. He primarily uses Rust to build board games. In addition, he also possesses several years of experience in Go, PHP, and JavaScript among many others.

Facilities

Location

Start date

Online

Start date

Different dates availableEnrolment now open

About this course

Useful patterns for handling error cases
Patterns for building complex objects with ease
How lifetimes provide data safety and how to pass them around even concurrent code
How we can use generics to handle complex data with ease
What it means for an abstraction to be zero cost
How we can use macros to simplify make our code easier to write
How we can use “iterator” and “intoiterator” to make our functions more flexible
How Rust futures allow us to handle IO without blocking our program from working on something else
How libraries such as Diesel and Rocket use macros to make them easier to write for
How we can integrate our new rust code with existing libraries written in other languages

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Emagister S.L. (data controller) will process your data to carry out promotional activities (via email and/or phone), publish reviews, or manage incidents. You can learn about your rights and manage your preferences in the privacy policy.

Reviews

This centre's achievements

2021

All courses are up to date

The average rating is higher than 3.7

More than 50 reviews in the last 12 months

This centre has featured on Emagister for 6 years

Subjects

  • Programming
  • Project
  • Server
  • Options

Course programme

Handling All Kinds of Errors with Result and Option 7 lectures 52:13 The Course Overview This video will give you an overview about the course. Error Handling in Rust How can we handle both a good result, and an error from the same function? • Learn about the Enum Result • Learn how match statements can split the possibilities • Create a match statement that handles the different cases Avoid Using Match with Combinators While "match" is effective, with multiple errors this can lead to lengthy code. • Learn about the combinator methods on Result • Learn how to write closures and anonymous functions • Use the “and_then” combinator, to make our code shorter and easier to read Results and Options Sometimes, you need to work with things that may or may not exist. • Learn about the Option Enum Type • Learn about the methods that convert between them • Have a function return an option when from an error Building Our Own Error Type If our function needs to return a result but could have multiple different errors, we need to be able to tell return them in a strongly typed system. • Learn how to build a new type • Learn how to implement it from trait • Use the into method, and “?” operator, so as to create our error from other error types Splitting Our Codes between Modules and Crates Different crates and modules create different errors. We need to handle errors across module barriers. • Split our project into separate modules • Create an application and a library within the same crate • Make sure errors can be passed around across the crate boundaries Introducing the Failure Crate Many libraries and useful code is out there ready for us to use. How can we get it ready to include in our own code? • Introduce Crates.io, and how we can find crates to do a job • Include the "Failure" crate in our cargo.toml • Use the fail trait and error type to combine different error types Handling All Kinds of Errors with Result and Option- Quiz Handling All Kinds of Errors with Result and Option. 7 lectures 52:13 The Course Overview This video will give you an overview about the course. Error Handling in Rust How can we handle both a good result, and an error from the same function? • Learn about the Enum Result • Learn how match statements can split the possibilities • Create a match statement that handles the different cases Avoid Using Match with Combinators While "match" is effective, with multiple errors this can lead to lengthy code. • Learn about the combinator methods on Result • Learn how to write closures and anonymous functions • Use the “and_then” combinator, to make our code shorter and easier to read Results and Options Sometimes, you need to work with things that may or may not exist. • Learn about the Option Enum Type • Learn about the methods that convert between them • Have a function return an option when from an error Building Our Own Error Type If our function needs to return a result but could have multiple different errors, we need to be able to tell return them in a strongly typed system. • Learn how to build a new type • Learn how to implement it from trait • Use the into method, and “?” operator, so as to create our error from other error types Splitting Our Codes between Modules and Crates Different crates and modules create different errors. We need to handle errors across module barriers. • Split our project into separate modules • Create an application and a library within the same crate • Make sure errors can be passed around across the crate boundaries Introducing the Failure Crate Many libraries and useful code is out there ready for us to use. How can we get it ready to include in our own code? • Introduce Crates.io, and how we can find crates to do a job • Include the "Failure" crate in our cargo.toml • Use the fail trait and error type to combine different error types Handling All Kinds of Errors with Result and Option- Quiz The Course Overview This video will give you an overview about the course. The Course Overview This video will give you an overview about the course. The Course Overview This video will give you an overview about the course. The Course Overview This video will give you an overview about the course. This video will give you an overview about the course. This video will give you an overview about the course. Error Handling in Rust How can we handle both a good result, and an error from the same function? • Learn about the Enum Result • Learn how match statements can split the possibilities • Create a match statement that handles the different cases Error Handling in Rust How can we handle both a good result, and an error from the same function? • Learn about the Enum Result • Learn how match statements can split the possibilities • Create a match statement that handles the different cases Error Handling in Rust How can we handle both a good result, and an error from the same function? • Learn about the Enum Result • Learn how match statements can split the possibilities • Create a match statement that handles the different cases Error Handling in Rust How can we handle both a good result, and an error from the same function? • Learn about the Enum Result • Learn how match statements can split the possibilities • Create a match statement that handles the different cases How can we handle both a good result, and an error from the same function? • Learn about the Enum Result • Learn how match statements can split the possibilities • Create a match statement that handles the different cases How can we handle both a good result, and an error from the same function? • Learn about the Enum Result • Learn how match statements can split the possibilities • Create a match statement that handles the different cases Avoid Using Match with Combinators While "match" is effective, with multiple errors this can lead to lengthy code. • Learn about the combinator methods on Result • Learn how to write closures and anonymous functions • Use the “and_then” combinator, to make our code shorter and easier to read Avoid Using Match with Combinators While "match" is effective, with multiple errors this can lead to lengthy code. • Learn about the combinator methods on Result • Learn how to write closures and anonymous functions • Use the “and_then” combinator, to make our code shorter and easier to read Avoid Using Match with Combinators While "match" is effective, with multiple errors this can lead to lengthy code. • Learn about the combinator methods on Result • Learn how to write closures and anonymous functions • Use the “and_then” combinator, to make our code shorter and easier to read Avoid Using Match with Combinators While "match" is effective, with multiple errors this can lead to lengthy code. • Learn about the combinator methods on Result • Learn how to write closures and anonymous functions • Use the “and_then” combinator, to make our code shorter and easier to read While "match" is effective, with multiple errors this can lead to lengthy code. • Learn about the combinator methods on Result • Learn how to write closures and anonymous functions • Use the “and_then” combinator, to make our code shorter and easier to read While "match" is effective, with multiple errors this can lead to lengthy code. • Learn about the combinator methods on Result • Learn how to write closures and anonymous functions • Use the “and_then” combinator, to make our code shorter and easier to read Results and Options Sometimes, you need to work with things that may or may not exist. • Learn about the Option Enum Type • Learn about the methods that convert between them • Have a function return an option when from an error Results and Options Sometimes, you need to work with things that may or may not exist. • Learn about the Option Enum Type • Learn about the methods that convert between them • Have a function return an option when from an error Results and Options Sometimes, you need to work with things that may or may not exist. • Learn about the Option Enum Type • Learn about the methods that convert between them • Have a function return an option when from an error Results and Options Sometimes, you need to work with things that may or may not exist. • Learn about the Option Enum Type • Learn about the methods that convert between them • Have a function return an option when from an error Sometimes, you need to work with things that may or may not exist. • Learn about the Option Enum Type • Learn about the methods that convert between them • Have a function return an option when from an error Sometimes, you need to work with things that may or may not exist. • Learn about the Option Enum Type • Learn about the methods that convert between them • Have a function return an option when from an error Building Our Own Error Type If our function needs to return a result but could have multiple different errors, we need to be able to tell return them in a strongly typed system. • Learn how to build a new type • Learn how to implement it from trait • Use the into method, and “?” operator, so as to create our error from other error types Building Our Own Error Type If our function needs to return a result but could have multiple different errors, we need to be able to tell return them in a strongly typed system. • Learn how to build a new type • Learn how to implement it from trait • Use the into method, and “?” operator, so as to create our error from other error types Building Our Own Error Type If our function needs to return a result but could have multiple different errors, we need to be able to tell return them in a strongly typed system. • Learn how to build a new type • Learn how to implement it from trait • Use the into method, and “?” operator, so as to create our error from other error types Building Our Own Error Type If our function needs to return a result but could have multiple different errors, we need to be able to tell return them in a strongly typed system. • Learn how to build a new type • Learn how to implement it from trait • Use the into method, and “?” operator, so as to create our error from other error types If our function needs to return a result but could have multiple different errors, we need to be able to tell return them in a strongly typed system. • Learn how to build a new type • Learn how to implement it from trait • Use the into method, and “?” operator, so as to create our error from other error types If our function needs to return a result but could have multiple different errors, we need to be able to tell return them in a strongly typed system. • Learn how to build a new type • Learn how to implement it from trait • Use the into method, and “?” operator, so as to create our error from other error types Splitting Our Codes between Modules and Crates Different crates and modules create different errors. We need to handle errors across module barriers. • Split our project into separate modules • Create an application and a library within the same crate • Make sure errors can be passed around across the crate boundaries Splitting Our Codes between Modules and Crates Different crates and modules create different errors. We need to handle errors across module barriers. • Split our project into separate modules • Create an application and a library within the same crate • Make sure errors can be passed around across the crate boundaries Splitting Our Codes between Modules and Crates Different crates and modules create different errors. We need to handle errors across module barriers. • Split our project into separate modules • Create an application and a library within the same crate • Make sure errors can be passed around across the crate boundaries Splitting Our Codes between Modules and Crates Different crates and modules create different errors. We need to handle errors across module barriers. • Split our project into separate modules • Create an application and a library within the same crate • Make sure errors can be passed around across the crate boundaries Different crates and modules create different errors. We need to handle errors across module barriers. • Split our project into separate modules • Create an application and a library within the same crate • Make sure errors can be passed around across the crate boundaries Different crates and modules create different errors. We need to handle errors across module barriers. • Split our project into separate modules • Create an application and a library within the same crate • Make sure errors can be passed around across the crate boundaries Introducing the Failure Crate Many libraries and useful code is out there ready for us to use. How can we get it ready to include in our own code? • Introduce Crates.io, and how we can find crates to do a job • Include the "Failure" crate in our cargo.toml • Use the fail trait and error type to combine different error types Introducing the Failure Crate Many libraries and useful code is out there ready for us to use. How can we get it ready to include in our own code? • Introduce Crates.io, and how we can find crates to do a job • Include the "Failure" crate in our cargo.toml • Use the fail trait and error type to combine different error types Introducing the Failure Crate Many libraries and useful code is out there ready for us to use. How can we get it ready to include in our own code? • Introduce Crates.io, and how we can find crates to do a job • Include the "Failure" crate in our cargo Building on the IntoIterator Trait Not everything you want to iterate over,...

Additional information

This video course is aimed at developers who have a basic knowledge of Rust and its semantics and are looking to hit the ground running

Rust Programming Recipes

£ 10 + VAT