Type Here to Get Search Results !

The Rust Programming Language in pdf

 

Download This PDF Book: The Rust Programming Language 1st Edition by Steve Klabnik, Carol Nichols

Introduction 

Welcome to “The Rust Programming Language,” an introductory book about Rust. Rust is a programming language that’s focused on safety, speed, and concurrency. 

Its design lets you create programs that have the performance and control of a low-level language, but with the powerful abstractions of a high-level language. 

These properties make Rust suitable for programmers who have experience in languages like C and are looking for a safer alternative, as well as those from languages like Python who are looking for ways to write code that performs better without sacrificing expressiveness. 

Rust performs the majority of its safety checks and memory management decisions at compile time, so that your program’s runtime performance isn’t impacted. 

This makes it useful in a number of use cases that other languages aren’t good at: programs with predictable space and time requirements, embedding in other languages, and writing low-level code, like device drivers and operating systems. 

It’s also great for web applications: it powers the Rust package registry site, crates.io! We’re excited to see what you create with Rust. This book is written for a reader who already knows how to program in at least one programming language. After reading this book, you should be comfortable writing Rust programs. 

We’ll be learning Rust through small, focused examples that build on each other to demonstrate how to use various features of Rust as well as how they work behind the scenes.

The Rust Programming Language is the official book on Rust, an open-source, community-developed systems programming language that runs blazingly fast, prevents defaults, and guarantees thread safety. 

This is the undisputed go-to guide to Rust, written by two members of the Rust core team, with feedback and contributions from 42 members of the community. 

The book assumes that you’ve written code in another programming language but makes no assumptions about which one, meaning the material is accessible and useful to developers from a wide variety of programming backgrounds.

Known by the Rust community as “The Book,” The Rust Programming Language includes concept chapters, where you’ll learn about a particular aspect of Rust, and project chapters, where you’ll apply what you’ve learned so far to build small programs. 

The Book opens with a quick hands-on project to introduce the basics then explores key concepts in depth, such as ownership, the type system, error handling, and fearless concurrency. 

Next come detailed explanations of Rust-oriented perspectives on topics like pattern matching, iterators, and smart pointers, with concrete examples and exercises--taking you from theory to practice.

The Rust Programming Language will also show you how to:

- Grasp important concepts unique to Rust, like ownership, borrowing, and lifetimes

- Use Cargo, Rust’s built-in package manager, to build and maintain your code, including downloading and building dependencies

- Effectively use Rust’s zero-cost abstractions and employ your own

You’ll learn to develop reliable code that’s speed and memory efficient, while avoiding the infamous and arcane programming pitfalls common at the systems level. 

When you need to dive down into lower-level control, this guide will show you how without taking on the customary risk of crashes or security holes and without requiring you to learn the fine points of a fickle toolchain.

You’ll also learn how to create command line programs, build single- and multithreaded web servers, and much more.

The Rust Programming Language fully embraces Rust’s potential to empower its users. This friendly and approachable guide will help you build not only your knowledge of Rust but also your ability to program with confidence in a wider variety of domains.

Contents:

I Getting started 

1 Introduction

2 Guessing Game 

3 Common Programming Concepts 

4 Understanding Ownership 

5 Using Structs to Structure Related Data 

6 Enums and Pattern Matching 

II Basic Rust Literacy 

1 Using Modules to Reuse and Organize Code 

2 Common Collections 

3 Error Handling 

4 Generic Types, Traits, and Lifetimes 

5 Testing

6 An I/O Project Building a Small Grep 

III Thinking in Rust

1 Functional Language features in Rust: Iterators and Closures

2 More about Cargo and Crates.io 

3 Smart Pointers 

4 Fearless Concurrency 

5 Is Rust an Object-Oriented Programming Language? 

IV Advanced Topics

1 Patterns Match the Structure of Values 

2 Advanced Features 

3 Final Project: Building a Multithreaded Web Server

About the Author

Steve Klabnik works at Mozilla, is on the core team of Rust, and leads the documentation team. Klabnik is a frequent speaker at conferences and is a prolific open source contributor, previously working on projects such as Ruby and Ruby on Rails.

Carol Nichols is a member of the Rust Tools and Community Teams. She’s a co-founder of Integer 32, LLC, the world’s first Rust-focused software consultancy. She also organizes the Rust Belt Rust Conference.

About The Book:

Publisher ‏ : ‎ No Starch Press; 1st Edition (June 26, 2018)

Language ‏ : ‎ English

Pages ‏ : ‎ 617

File: PDF, 12MB

Download

Free Download the Book: The Rust Programming Language 1st Edition by Steve Klabnik, Carol Nichols

PS: Share the link with your friends

If the Download link is not working, kindly drop a comment below, so we'll update the download link for you.

Happy downloading!

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.