Effective Rust: 35 Specific Ways to Improve Your Rust Code


Effective Rust: 35 Specific Ways to Improve Your Rust Code
Author: David Drysdale (Author)
Publisher finelybook 出版社:‏ Oreilly & Associates Inc
Edition 版本:‏ 1st
Publication Date 出版日期:‏ 2024-05-07
Language 语言: English
Print Length 页数: 250 pages
ISBN-10: 1098151402
ISBN-13: 9781098151409

Book Description

Rust’s popularity is growing, due in part to features like memory safety, type safety, and thread safety. But these same elements can also make learning Rust a challenge, even for experienced programmers. This practical guide helps you make the transition to writing idiomatic Rust—while also making full use of Rust’s type system, safety guarantees, and burgeoning ecosystem.

If you’re a software engineer who has experience with an existing compiled language, or if you’ve struggled to convert a basic understanding of Rust syntax into working programs, this book is for you. By focusing on the conceptual differences between Rust and other compiled languages, and by providing specific recommendations that programmers can easily follow, Effective Rust will soon have you writing fluent Rust, not just badly translated C++.

  • Understand the structure of Rust’s type system
  • Learn Rust idioms for error handling, iteration, and more
  • Discover how to work with Rust’s crate ecosystem
  • Use Rust’s type system to express your design
  • Win fights with the borrow checker
  • Build a robust project that takes full advantage of the Rust tooling ecosystem

Review

Effective Rust is an excellent collection of real-world Rust knowledge beyond the basics. The advice in this book will help you become a confident and well-rounded Rustacean.”
Carol Nichols, co-author of
The Rust Programming Language
Effective Rust dives deep into most of the recommendations I give people on how to improve their projects. It’s a great resource to level up your Rust.”
Pietro Albini, former member of the Rust Core Team

About the Author

David Drysdale is a staff software engineer at Google and has been primarily working in Rust since 2019. He is the author of the Rust port of the Tink cryptography library and also led the project to replace Android’s hardware cryptography library (KeyMint) with a Rust version. He has extensive prior experience in C/C++ and Go and has previously worked on projects as diverse as the Linux kernel, networking control plane software, and mobile video conferencing apps.

Amazon page

下载地址 Download解决验证以访问链接!
打赏
未经允许不得转载:finelybook » Effective Rust: 35 Specific Ways to Improve Your Rust Code

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫