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 Author

Ivo Balbaert is currently a lecturer of (web) programming and databases at CVO Antwerpen (www.cvoantwerpen.be), a community college in Belgium. He received a PhD in applied physics from the University of Antwerp in 1986. He worked in the software industry as a developer and consultant for several companies for 20 years and as a project manager at the University Hospital of Antwerp for 10 years. From 2000 onwards, he switched to partly teaching and partly developing software (KHM Mechelen, CVO Antwerp).

He wrote an introductory book in Dutch about developing in Ruby and Rails, Programmeren met Ruby en Rails, Van Duuren Media.

In 2012, he authored a book on the Go programming language, The Way To Go, iUniverse.

In 2013, in collaboration with Dzenan Ridzanovic, he wrote Learning Dart and Dart Cookbook, both by Packt Publishing.

In 2014, he wrote Getting Started with Julia, Packt Publishing.