Video description
In the world of programming languages, there are often tradeoffs to consider. Low-level languages such as C and C++ offer speed and control, but at the cost of memory safety. High-level languages such as Python and JavaScript prioritize safety but are less efficient in terms of power and speed. Rust, however, offers the best of both worlds.
You will begin with the basics of Rust programming, including its syntax and memory safety features. As you progress, you will develop an understanding of advanced-level concepts such as generics, traits, and more. The course provides hands-on experience in solving intermediate to advanced-level problems using Rust.
The course covers a range of topics, including basic Rust programming syntax, Enums, structures, rust module system, the use of external crates and publishing crates, smart pointers, commonly used data structures, advanced techniques such as macros, testing, memory allocations and more. You will also learn some real-life applications in Rust from scratch, and efficient programming skills.
Furthermore, you will understand concurrency and async programming, textual processing, directory handling, Blockchain, and web programming in Rust.
By the end of this course, you will become fluent in Rust programming and confidently and professionally code in the language.
What you will learn
- Use Rust syntax and collectors to write basic programs
- Apply enums, traits, structures, generics, and more to create complex programs
- Utilize advanced Rust techniques, such as macros and testing, for efficient programming
- Apply Rust to create real-life applications such as blockchain and web programming
- Handle options, strings, and structures in concurrent and asynchronous programs
- Learn performance optimization techniques and benchmarking using Criterion
Audience
This course is designed for beginners who have no prior knowledge of Rust and who are interested in learning the language. However, the book also covers advanced concepts, making it suitable for individuals who want to develop their skills and expertise in Rust programming. It may be particularly useful for students, professionals, or hobbyists who are interested in system programming, blockchain development, or other related areas.
About the Author
Dr. Nouman Azam: Dr. Nouman Azam, an assistant professor of Computer Science at the National University of Computer and Emerging Sciences, specializes in machine learning with a focus on applications in bioinformatics, text processing, and medical decision-making.
He leverages over a decade of research and teaching experience to bridge technology with real-world challenges. His research integrates complex theories such as rough sets, game theory, and optimization into practical machine learning applications. In his master's thesis, he investigated various machine-learning techniques for identifying key features in spam email filtering. His doctoral research focused on using algorithms like genetic algorithms and gradient descent to discern patterns in data.
Table of contents
- Chapter 1 : Introduction
- Chapter 2 : Basic Programming
- Chapter 3 : Ownership - The Heart of Rust Programming
- Chapter 4 : Control Structures
- Chapter 5 : Project: Stack Implementation
- Chapter 6 : Structures, Traits, Generics, Enums
- Chapter 7 : Iterators, Lifetimes, and Closures
- Chapter 8 : Rust Modules and Crates
-
Chapter 9 : Smart Pointers
- Basics of Smart Pointers
- Box Smart Pointers and When to Use It
- Refining Cons List and Custom-Defined Smart Pointers
- Singly Link List (Part 1)
- Singly Link List (Part 2)
- Generics and Deref Coercion in Smart Pointers
- Rc Smart Pointer
- RefCell Smart Pointer
- Doubly Link List (Part 1)
- Doubly Link List (Part 2)
- Reference Cycles Creating Memory Leakage
- Chapter 10 : Advance Techniques
-
Chapter 11 : Real-Life Applications and Problem-Solving Using Rust
- Search Results Using Word Groupings with HashMaps and Nested Loops
- Product Popularity Using HashMaps
- Highest Stock Price Using MaxStack and Structures
- Finding an Employee with No Meeting Using Multidimensional Arrays
- Longest Non-Stop Working Employee Using HashSets
- Items Suggestions Using HashSets and Vectors
- Items in Ranges Using Binary Search Tree (Part 1)
- Items in Ranges Using Binary Search Tree (Part 2)
- Fetching Top Products
- Effective Storage and Retrieval Using Trie Data Structure
- Most Recently Used Product Using Doubly Link List and HashMaps (Part 1)
- Most Recently Used Product Using Doubly Link List and HashMaps (Part 2)
- Displaying Participants in an Online Meeting (Part 1)
- Displaying Participants in an Online Meeting (Part 2)
- Chapter 12 : Deep Dive Into Traits
- Chapter 13 : Efficient Programming with Rust
-
Chapter 14 : Concurrency
- Threads Basics
- Multiple Threads and Ownership in Threads
- Communication through Channels
- Multiple Producers, Threads, and Functions
- Sharing States
- Passing Mutexes between Threads
- Synchronization Through Barriers
- Project: Web Scraping Using Threads
- Scoped Threads
- Thread Parking, Yielding
- Async Await
- Async Await (Tasks and Select)
- Chapter 15 : Text Processing, File and Directory Handling
- Chapter 16 : A Deeper Look at the Sized and Unsized Types in Rust
- Chapter 17 : Blockchain in Rust
- Chapter 18 : Web Programming
- Chapter 19 : Measuring and Improving Performance
Product information
- Title: Rust Programming Masterclass from Beginner to Expert
- Author(s):
- Release date: May 2024
- Publisher(s): Packt Publishing
- ISBN: 9781804612187
You might also like
book
Pro Go: The Complete Guide to Programming Reliable and Efficient Software Using Golang
Best-selling author Adam Freeman explains how to get the most from Go, starting from the basics …
video
Clean Code Fundamentals
Expanded Edition (Updated February 2022) Updated with episodes from SOLID Principles and Advanced TDD in the …
video
Docker for the Absolute Beginner - Hands-On
Docker is an open platform for developers and sysadmins to build, deploy, and run distributed applications …
video
The Complete Node.js Developer Course (3rd Edition)
This course was just completely re-filmed to give you everything you need to master Node.js in …