Rust Programming Cookbook : Explore the Latest Features of Rust 2018 for Building Fast and Secure Apps /
This book comes with a lot of application-specific recipes to kick-start your development of real-world high-performance applications with the Rust programming language and integrating Rust units into your existing applications. You will find 80 practical recipes that will allow you to use the code...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing, Limited,
2019.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Title Page; Copyright and Credits; Dedication; About Packt; Foreword; Contributors; Table of Contents; Preface; Chapter 1: Starting Off with Rust; Setting up your environment; Getting ready; How to do it ... ; Managing the Rust installation with rustup.rs; Installing Visual Studio Code and extensions; Troubleshooting; How it works ... ; Working with the command line I/O; How to do it ... ; How it works ... ; Creating and using data types; How to do it ... ; How it works ... ; Controlling execution flow; How to do it ... ; How it works ... ; Splitting your code with crates and modules; Getting ready
- How to do it ... How it works ... ; Writing tests and benchmarks; Getting ready; How to do it ... ; How it works ... ; Documenting your code; Getting ready; How to do it ... ; How it works ... ; Testing your documentation; Getting ready; How to do it ... ; How it works ... ; Sharing code among types; How to do it ... ; How it works ... ; Sequence types in Rust; How to do it ... ; How it works ... ; Debugging Rust; Getting ready; How to do it ... ; How it works ... ; Chapter 2: Going Further with Advanced Rust; Creating meaningful numbers with enums; How to do it ... ; How it works ... ; There is no null; How to do it ...
- How it works ... Complex conditions with pattern matching; How to do it ... ; How it works ... ; Implementing custom iterators; Getting ready; How to do it ... ; How it works ... ; Filtering and transforming sequences efficiently; Getting ready; How to do it ... ; How it works ... ; Reading memory the unsafe way; How to do it ... ; How it works ... ; Shared ownership; Getting ready; How to do it ... ; How it works ... ; Shared mutable ownership; Getting ready; How to do it ... ; How it works ... ; Referencing with explicit lifetimes; How to do it ... ; How it works ... ; Enforcing behavior with trait bounds
- How to do it ... How it works ... ; Working with generic data types; How to do it ... ; How it works ... ; Chapter 3: Managing Projects with Cargo; Organizing large projects with workspaces; How to do it ... ; How it works ... ; Uploading to crates.io; Getting ready; How to do it ... ; How it works ... ; Using dependencies and external crates; How to do it ... ; How it works ... ; See also ... ; Extending cargo with sub-commands; Getting ready; How to do it ... ; How it works ... ; Testing your project with cargo; How to do it ... ; How it works ... ; Continuous integration with cargo; Getting ready; How to do it ...
- How it works ... Customizing the build; How to do it ... ; How it works ... ; Chapter 4: Fearless Concurrency; Moving data into new threads; How to do it ... ; How it works ... ; Managing multiple threads; How to do it ... ; How it works ... ; Using channels to communicate between threads; How to do it ... ; How it works ... ; Sharing mutable states; How to do it ... ; How it works ... ; Multiprocessing in Rust; How to do it ... ; How it works ... ; Making sequential code parallel; How to do it ... ; How it works ... ; Concurrent data processing in vectors; How to do it ... ; How it works ... ; Shared immutable states