Document Type
|
:
|
BL
|
Record Number
|
:
|
853941
|
Main Entry
|
:
|
Klabnik, Steve
|
Title & Author
|
:
|
The Rust programming language /\ by Steve Klabnik and Carol Nichols ; with contributions from the Rust Community.
|
Publication Statement
|
:
|
San Francisco :: No Starch Press, Inc.,, 2018.
|
Page. NO
|
:
|
1 online resource
|
ISBN
|
:
|
1593278284
|
|
:
|
: 1593278519
|
|
:
|
: 9781593278281
|
|
:
|
: 9781593278519
|
|
:
|
9781593278281
|
Notes
|
:
|
Includes index.
|
Contents
|
:
|
Intro; Brief Contents; Contents in Detail; Foreword; Acknowledgments; Introduction; Who Rust Is For; Teams of Developers; Students; Companies; Open Source Developers; People Who Value Speed and Stability; Who This Book Is For; How to Use This Book; Contributing to the Book and Resources; Chapter 1: Getting Started; Installation; Local Documentation; Troubleshooting; Updating and Uninstalling; Installing rustup on Windows; Installing rustup on Linux or macOS; Hello, World!; Creating a Project Directory; Writing and Running a Rust Program; Anatomy of a Rust Program
|
|
:
|
Adding Useful Functionality with Derived TraitsMethod Syntax; Defining Methods; Multiple impl Blocks; Associated Functions; Methods with More Parameters; Summary; Chapter 6: Enums and Pattern Matching; Defining an Enum; Enum Values; The Option Enum and Its Advantages over Null Values; The match Control Flow Operator; Patterns That Bind to Values; Matching with Option; Matches Are Exhaustive; The _ Placeholder; Concise Control Flow with if let; Summary; Chapter 7: Using Modules to Reuse and Organize Code; mod and the Filesystem; Module Definitions; Moving Modules to Other Files
|
|
:
|
Compiling and Running Are Separate StepsHello, Cargo!; Creating a Project with Cargo; Building and Running a Cargo Project; Building for Release; Cargo as Convention; Summary; Chapter 2: Programming a Guessing Game; Setting Up a New Project; Processing a Guess; Storing Values with Variables; Handling Potential Failure with the Result Type; Printing Values with println! Placeholders; Testing the First Part; Generating a Secret Number; Using a Crate to Get More Functionality; Generating a Random Number; Comparing the Guess to the Secret Number; Allowing Multiple Guesses with Looping
|
|
:
|
Dangling ReferencesThe Rules of References; The Slice Type; String Slices; Other Slices; Summary; Memory and Allocation; Chapter 5: Using Structs to Structure Related Data; Defining and Instantiating Structs; Using the Field Init Shorthand When Variables and Fields Have the Same Name; Creating Instances from Other Instances with Struct Update Syntax; Using Tuple Structs Without Named Fields to Create Different Types; Unit-Like Structs Without Any Fields; An Example Program Using Structs; Refactoring with Tuples; Refactoring with Structs: Adding More Meaning
|
|
:
|
Quitting After a Correct GuessHandling Invalid Input; Summary; Chapter 3: Common Programming Concepts; Variables and Mutability; Differences Between Variables and Constants; Shadowing; Data Types; Scalar Types; Compound Types; Functions; Function Parameters; Statements and Expressions; Functions with Return Values; Comments; Control Flow; if Expressions; Repetition with Loops; Summary; Chapter 4: Understanding Ownership; What Is Ownership?; Return Values and Scope; Ownership and Functions; The String Type; Variable Scope; Ownership Rules; References and Borrowing; Mutable References
|
Abstract
|
:
|
"The official guide to Rust, a community-developed, systems programming language. Begins with a hands-on project to introduce the basics, then explores key concepts in depth"--
|
|
:
|
"The Rust Programming Language is the official book on Rust; a community-developed, systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety. Rust's memory safety guarantees, enforced at compile time, safeguard your programs against the many problems that pervade other systems languages. Rust offers the control and performance of a low-level language with the helpful abstractions of a high level one, and does this all without having a garbage collector. These characteristics make Rust useful for embedding in other languages, programs with specific space and time requirements, and writing low-level code, like device drivers and operating systems. The Rust Programming Language begins 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. Detailed explanations of Rust-oriented takes on topics like pattern matching, iterators, and smart pointers combine with examples and exercises to take you from theory to practice. In addition to its thorough coverage of more granular topics, The Rust Programming Language will 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 your code, including downloading and building dependencies -Effectively use Rust's zero-cost abstractions and learn to build your own Developed with help from the community, The Rust Programming Language is your official guide to becoming a productive Rust programmer"--
|
Subject
|
:
|
C (Computer program language)
|
Subject
|
:
|
Computer programming.
|
Subject
|
:
|
Rust (Computer programming language)
|
Subject
|
:
|
C (Computer program language)
|
Subject
|
:
|
Computer programming.
|
Subject
|
:
|
COMPUTERS-- Programming Languages-- General.
|
Subject
|
:
|
COMPUTERS-- Programming-- General.
|
Subject
|
:
|
COMPUTERS-- Programming-- Open Source.
|
Subject
|
:
|
Rust (Computer program language)
|
Dewey Classification
|
:
|
005.13/3
|
LC Classification
|
:
|
QA76.73.R87K53 2018
|
NLM classification
|
:
|
COM051390COM051010COM051000bisacsh
|
Added Entry
|
:
|
Nichols, Carol,1983-
|