Book Image

Rust Essentials

By : Ivo Balbaert
Book Image

Rust Essentials

By: Ivo Balbaert

Overview of this book

<p>Starting by comparing Rust with other programming languages, this book will show you where and how to use Rust. It will discuss primitive types along with variables and their scope, binding and casting, simple functions, and ways to control execution flow in a program.</p> <p>Next, the book covers flexible arrays, vectors, tuples, enums, and structs. You will then generalize the code with higher-order functions and generics applying it to closures, iterators, consumers, and so on. Memory safety is ensured by the compiler by using references, pointers, boxes, reference counting, and atomic reference counting. You will learn how to build macros and crates and discover concurrency for multicore execution.</p> <p>By the end of this book, you will have successfully migrated to using Rust and will be able to use it as your main programming language.</p>
Table of Contents (17 chapters)
Rust Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

About the Reviewers

Anthony Miyaguchi is a computer science and engineering student at UCLA. He is active in the open source community and has worked on a variety of different projects, from embedded programming to web technologies. If he finds free time, he would like to make a dent in his collection of books.

Bharadwaj Srigiriraju is a computer science graduate from IIITDM, Jabalpur, who now works as a software developer at Chumbak, Bangalore. He is a technology enthusiast who loves to develop web apps and hack on (shiny) new technologies. He specializes in Python and firmly believes that Rust will replace C very soon. You can reach him at or visit his GitHub to know more github.com/bharadwaj6.

Syed Omar Faruk Towaha is a programmer and physicist from Shahjalal University of Science and Technology, Sylhet, Bangladesh. He is involved with the Rust development team and writes and reviews books on several programming languages. He is an Oracle Certified Professional (OCP) developer and loves open source technology. He has been working with several science projects and some research projects at his university as well as in international laboratories. He enjoys designing algorithms and circuit theory. He volunteers at Mozilla by arranging events as a Mozilla representative (http://reps.mozilla.org/).

He is the president of a famous astronomical organization, CAM-SUST (http://camsust.org/). He loves working in teams and being associated with interesting projects.

His recent books include How You Should Design Algorithms, Easy Circuits for Kids, Wonder in Quantum Physics, and Fundamentals of Ruby.

You can contact him at . To find out more details about him, go to http://towaha.me/.

Tony Zou is currently pursuing his undergraduate studies at the University of Waterloo. He has been programming for 4 years and has worked on a few projects. He enjoys competitive programming and working with exciting new languages such as Rust.