Home » Programming » Rust Essentials

Rust Essentials

Rust Essentials

  • Author : Ivo Balbaert
  • Year : 2015
  • Pages : 184
  • File size : 1.7 MB
  • File format : PDF
  • Category : Programming, Rust language

Book Description:

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.

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.

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.

What You Will Learn

  • Set up your Rust environment for maximum productivity
  • Bridge the performance gap between safe and unsafe languages with Rust
  • Use pattern matching to create flexible code
  • Apply generics and traits to develop widely applicable code
  • Organize your code in modules and crates
  • Build macros to extend Rust’s capabilities and reach
  • Apply threads to tackle problems concurrently and in distributed environments
  • Interface with C and isolate unsafe code

Download eBook


eBooks in the same categorie :

Pro JPA 2 in Java EE 8, 3rd Edition

Download free Pro JPA 2 in Java EE 8, 3rd Edition eBook in PDF

Learn to use the Java Persistence API (JPA) and other related APIs as found in the Java EE 8 platform from the perspective of one of the specification

Beginning Rust

Download free Beginning Rust eBook in PDF

Learn to program with Rust in an easy, step-by-step manner on Unix, Linux shell, macOS and the Windows command line.  As you read this book, you’ll

The Rust Programming Language

Download free The Rust Programming Language eBook in PDF

The Rust Programming Language is the official book on Rust, an open-source, community-developed systems programming language that runs blazingly fast

Programming Rust

Download free Programming Rust eBook in PDF

Rust is a new systems programming language that combines the performance and low-level control of C and C++ with memory safety and thread safety. Rust