Home » Programming » Programming Rust

Programming Rust

Programming Rust

  • Author : Jason Orendorff, Jim Blandy
  • Year : 2017
  • Pages : 622
  • File size : 1.7 MB
  • File format : PDF
  • Category : Programming, Rust language

Book Description:

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’s modern, flexible types ensure your program is free of null pointer dereferences, double frees, dangling pointers, and similar bugs, all at compile time, without runtime overhead. In multi-threaded code, Rust catches data races at compile time, making concurrency much easier to use.

Written by two experienced systems programmers, this book explains how Rust manages to bridge the gap between performance and safety, and how you can take advantage of it. Topics include:

  • How Rust represents values in memory (with diagrams)
  • Complete explanations of ownership, moves, borrows, and lifetimes
  • Cargo, rustdoc, unit tests, and how to publish your code on crates.io, Rust’s public package repository
  • High-level features like generic code, closures, collections, and iterators that make Rust productive and flexible
  • Concurrency in Rust: threads, mutexes, channels, and atomics, all much safer to use than in C or C++
  • Unsafe code, and how to preserve the integrity of ordinary code that uses it
  • Extended examples illustrating how pieces of the language fit together

Download eBook


eBooks in the same categorie :

Introducing Ethereum and Solidity

Download free Introducing Ethereum and Solidity eBook in PDF

Learn how to use Solidity and the Ethereum project – second only to Bitcoin in market capitalization. Blockchain protocols are taking the world by s

Beginning Laravel

Download free Beginning Laravel eBook in PDF

Learn about dependency injection, interfaces, service providers, SOLID design, and more with practical and real-world code examples. This book covers

Data Clustering in C++

Download free Data Clustering in C++ eBook in PDF

Data clustering is a highly interdisciplinary field, the goal of which is to divide a set of objects into homogeneous groups such that objects in the

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

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

Rust Essentials

Download free Rust Essentials eBook in PDF

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