Book Image

Introduction to Rust Programming [Video]

By : Syed Omar Faruk Towaha
Book Image

Introduction to Rust Programming [Video]

By: Syed Omar Faruk Towaha

Overview of this book

<p><span id="description" class="sugar_field">Rust is a highly concurrent and high performance language that focuses on safety and speed, memory management, and writing clean code. It also guarantees thread safety, and its aim is to improve the performance of existing applications. It has been backed by Mozilla to solve the critical problem of concurrency.</span></p> <p><span id="description" class="sugar_field">In this video, you will learn to build concurrent, fast, and robust applications. From learning the basic syntax to writing complex functions, this video is your one-stop guide to get up to speed with the fundamentals of Rust programming. We cover the essentials of the language, including high performance networking. We’ll explain in detail the fundamentals of Rust programming. You’ll will learn how to write object-oriented code, work with generics, conduct pattern matching, and build macros.</span></p> <p><span id="description" class="sugar_field">By the end of video, you will be able to write applications in Rust.</span></p> <h2><span class="sugar_field">Style and Approach</span></h2> <p><span class="sugar_field"><span id="trade_selling_points_c" class="sugar_field">This will be a comprehensive and up to date video for developers who have absolutely no background in Rust. Apart from showing the fundamentals features of Rust, the video will appeal to application developers who want to build concurrent applications. The video would enable the viewer to get started with the language and would enable them to build scalable and high-performance applications.</span></span></p>
Table of Contents (7 chapters)
Chapter 4
Getting Dirty
Content Locked
Section 2
Packing and Unpacking Message
As messages are sent and received through some shared states by the channels there is no guarantee that no unexpected sharing of states will occur. At this point, to protect accidental sharing of states as well as protect messages from unwanted leaking we need to use a Rust API – Lock. - Know why packing and unpacking is required - Know what is Lock and why we need it - Know functionality of Lock