Rust essentials : discover how to use Rust to write fast, secure, and concurrent systems and applications /: discover how to use Rust to write fast, secure, and concurrent systems and applications. (2015)
- Record Type:
- Book
- Title:
- Rust essentials : discover how to use Rust to write fast, secure, and concurrent systems and applications /: discover how to use Rust to write fast, secure, and concurrent systems and applications. (2015)
- Main Title:
- Rust essentials : discover how to use Rust to write fast, secure, and concurrent systems and applications
- Other Titles:
- Discover how to use Rust to write fast, secure, and concurrent systems and applications
- Further Information:
- Note: Ivo Balbaert.
- Authors:
- Balbaert, Ivo
- Contents:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Starting with Rust; The advantages of Rust; The trifecta of Rust -- safety, speed, and concurrency; Comparison with other languages; Using Rust; Servo; Installing Rust; The Rust compiler -- rustc; Our first program; Working with Cargo; Developer tools; Using Sublime Text; Other tools; Summary; Chapter 2: Using Variables and Types; Comments; Global constants; Printing with string interpolation; Values and primitive types; Consulting Rust documentation Binding variables to valuesMutable and immutable variables; Scope of a variable and shadowing; Type checking and conversions; Aliasing; Expressions; The stack and the heap; Summary; Chapter 3: Using Functions and Control Structures; Branching on a condition; Looping; Functions; Documenting a function; Attributes; Conditional compilation; Testing; Testing with cargo; Summary; Chapter 4: Structuring Data and Matching Patterns; Strings; Arrays, vectors, and slices; Vectors; Slices; Strings and arrays; Tuples; Structs; Enums; Result and Option; Getting input from the console; Matching patterns Chapter 7: Organizing Code and MacrosModules and crates; Building crates; Defining a module; Visibility of items; Importing modules and file hierarchy; Importing external crates; Exporting a public interface; Adding external crates to a project; The test module; Macros; Why do we use macros?; Developing macros; Repetition;Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Starting with Rust; The advantages of Rust; The trifecta of Rust -- safety, speed, and concurrency; Comparison with other languages; Using Rust; Servo; Installing Rust; The Rust compiler -- rustc; Our first program; Working with Cargo; Developer tools; Using Sublime Text; Other tools; Summary; Chapter 2: Using Variables and Types; Comments; Global constants; Printing with string interpolation; Values and primitive types; Consulting Rust documentation Binding variables to valuesMutable and immutable variables; Scope of a variable and shadowing; Type checking and conversions; Aliasing; Expressions; The stack and the heap; Summary; Chapter 3: Using Functions and Control Structures; Branching on a condition; Looping; Functions; Documenting a function; Attributes; Conditional compilation; Testing; Testing with cargo; Summary; Chapter 4: Structuring Data and Matching Patterns; Strings; Arrays, vectors, and slices; Vectors; Slices; Strings and arrays; Tuples; Structs; Enums; Result and Option; Getting input from the console; Matching patterns Chapter 7: Organizing Code and MacrosModules and crates; Building crates; Defining a module; Visibility of items; Importing modules and file hierarchy; Importing external crates; Exporting a public interface; Adding external crates to a project; The test module; Macros; Why do we use macros?; Developing macros; Repetition; Creating a new function; Using macros from crates; Summary; Chapter 8: Concurrency and Parallelism; Concurrency and threads; Creating threads; Starting a number of threads; Panicking threads; Thread-safety; Shared mutable state; The Sync trait Communication through channelsSending and receiving data; Synchronous and asynchronous communication; Summary; Chapter 9: Programming at the Boundaries; Program arguments; Unsafe; Raw pointers; Interfacing with C; Using a C library; Inlining assembly code; Calling Rust from other languages; Summary; Appendix: Exploring Further; Stability of Rust and the standard library; The ecosystem of crates; Other resources for learning Rust; Files and databases; Graphics and games; Web development; Index … (more)
- Publisher Details:
- Birmingham, UK : Packt Publishing
- Publication Date:
- 2015
- Extent:
- 1 online resource (1 volume), illustrations
- Subjects:
- 005.133
COMPUTERS -- Programming -- Open Source
Programming languages (Electronic computers)
Computer programming
Application software -- Development
Computer programming
Computer software -- Development -- Handbooks, manuals, etc
Java (Computer program language)
Application software -- Development
Computer programming
Programming languages (Electronic computers)
COMPUTERS -- Internet -- Application Development
Electronic books - Languages:
- English
- ISBNs:
- 9781785282133
1785282131 - Related ISBNs:
- 1785282131
1785285769
9781785285769 - Notes:
- Note: Description based on online resource; title from cover (Safari, viewed June 10, 2015).
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.88513
- Ingest File:
- 01_072.xml