This is the code repository for Building Reusable Code with Rust [Video], published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.
Rust is the ideal language for writing safe, correct code in a way that won't make you pull your hair out. This course will teach you how to build reusable Rust code so that y 7C77 ou can stop copy-pasting code. Write one code that can adapt to many different usages. You will reuse code by using advanced features like 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 run-time 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 to write clean reusable code Rust is the ideal language for writing safe, correct code in a way that won't make you pull your hair out. This course will teach you how to build reusable Rust code so that you can stop copy-pasting code. Write one code that can adapt to many different usages. You will reuse code by using advanced features like 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 run-time 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 to write clean reusable code
- Write clean and reusable Rust code for your applications
- Use loop, map, filter and fold to avoid duplicated code
- Understand generics and learn to use it to abstract algorithms for multiple data types
- Define and enforce clear interface using traits
- Work with macros and compiler plugins for metaprogramming
- Explore how the standard library uses features such as generics, traits and macros
- Structure your code with modules and crates and publish them online
To fully benefit from the coverage included in this course, you will need:
This course will appeal to Rust developers who are already familiar with the language and want to learn how to build Rust libraries that are maintainable, reusable and has an API that honors Rust convention
This course has the following software requirements:
This course has the following software requirements:
● Operating system: OSX 10.7+, Window 7+, Linux 2.6.18+
● Browser: All modern browsers
● Rust compiler This course has been tested on the following system configuration:
● OS: Linux 4.15.0 (Ubuntu 16.04.2 LTS)
● Processor: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
● Memory: 8GB
● Hard Disk Space: 100GB
● Video Card: Intel HD Graphic 620