Rust Programming Cookbook: Explore the latest features of Rust 2018 for building fast and secure apps
Authors: Claus Matzinger
ISBN-10: 1789530660
ISBN-13: 9781789530667
Publisher finelybook 出版社: Packt
Released: 2019-10-18
Print Length 页数: 444 pages
Book Description
Practical solutions to overcome challenges in creating console and web applications and working with systems-level and embedded code,network programming,deep neural networks,and much more.
Rust 2018,Rust’s first major milestone since version 1.0,brings more advancement in the Rust language. The Rust Programming Cookbook is a practical guide to help you overcome challenges when writing Rust code.
This Rust book covers recipes for configuring Rust for different environments and architectural designs,and provides solutions to practical problems. It will also take you through Rust’s core concepts,enabling you to create efficient,high-performance applications that use features such as zero-cost abstractions and improved memory management. As you progress,you’ll delve into more advanced topics,including channels and actors,for building scalable,production-grade applications,and even get to grips with error handling,macros,and modularization to write maintainable code. You will then learn how to overcome common roadblocks when using Rust for systems programming,IoT,web development,and network programming. Finally,you’ll discover what Rust 2018 has to offer for embedded programmers.
By the end of the book,you’ll have learned how to build fast and safe applications and services using Rust.
What you will learn
Understand how Rust provides unique solutions to solve system programming language problems
Grasp the core concepts of Rust to develop fast and safe applications
Explore the possibility of integrating Rust units into existing applications for improved efficiency
Discover how to achieve better parallelism and security with Rust
Write Python extensions in Rust
Compile external assembly files and use the Foreign Function Interface (FFI)
Build web applications and services using Rust for high performance
contents
1 Starting Off with Rust
2 Going Further with Advanced Rust
3 Managing Projects with Cargo
4 Fearless Concurrency
5 Handling Errors and Other Results
6 Expressing Yourself with Macros
7 Integrating Rust with Other Languages
8 Safe Programming for the Web
9 Systems Programming Made Easy
10 Getting Practical with Rust