Mastering Rust: Learn about memory safety,type system,concurrency,and the new features of Rust 2018 edition,2nd Edition


Mastering Rust: Learn about memory safety,type system,concurrency,and the new features of Rust 2018 edition,2nd Edition
Authors: Rahul Sharma - Vesa Kaihlavirta
ISBN-10 书号: 1789346576
ISBN-13 书号: 9781789346572
Publisher Finelybook 出版日期: 2019-01-31
Publisher Finelybook 出版社: Packt Publishing
pages 页数: 554 pages
Publisher Finelybook 出版社: Packt


Book Description
Rust is an empowering language that provides a rare combination of safety,speed,and zero-cost abstractions. Mastering Rust – Second Edition is filled with clear and simple explanations of the language features along with real-world examples,showing you how you can build robust,scalable,and reliable programs.
This second edition of the book improves upon the previous one and touches on all aspects that make Rust a great language. We have included the features from latest Rust 2018 edition such as the new module system,the smarter compiler,helpful error messages,and the stable procedural macros. You’ll learn how Rust can be used for systems programming,network programming,and even on the web. You’ll also learn techniques such as writing memory-safe code,building idiomatic Rust libraries,writing efficient asynchronous networking code,and advanced macros. The book contains a mix of theory and hands-on tasks so you acquire the skills as well as the knowledge,and it also provides exercises to hammer the concepts in.
After reading this book,you will be able to implement Rust for your enterprise projects,write better tests and documentation,design for performance,and write idiomatic Rust code.
Contents
1: GETTING STARTED WITH RUST
2: MANAGING PROJECTS WITH CARGO
3: TESTS,DOCUMENTATION,AND BENCHMARKS
4: TYPES,GENERICS,AND TRAITS
5: MEMORY MANAGEMENT AND SAFETY
6: ERROR HANDLING
7: ADVANCED CONCEPTS
8: CONCURRENCY
9: METAPROGRAMMING WITH MACROS
10: UNSAFE RUST AND FOREIGN FUNCTION INTERFACES
11: LOGGING
12: NETWORK PROGRAMMING IN RUST
13: BUILDING WEB APPLICATIONS WITH RUST
14: INTERACTING WITH DATABASES IN RUST
15: RUST ON THE WEB WITH WEBASSEMBLY
16: BUILDING DESKTOP APPLICATIONS WITH RUST
17: DEBUGGING

What you will learn
Write generic and type-safe code by using Rust’s powerful type system
How memory safety works without garbage collection
Know the different strategies in error handling and when to use them
Learn how to use concurrency primitives such as threads and channels
Use advanced macros to reduce boilerplate code
Create efficient web applications with the Actix-web framework
Use Diesel for type-safe database interactions in your web application
Authors
Rahul Sharma
Rahul Sharma is passionately curious about computer science and programming. A believer in Mozilla’s vision of an Open Web. Currently works at AtherEnergy where he is building resilient cloud infrastructure for smart scooters. His interests include systems programming,realtime web technologies,compilers and type theory. He is also a occasional contributor to the Rust language. He also contributes and mentors interns on the Servo project by Mozilla.
Vesa Kaihlavirta
Vesa Kaihlavirta has been programming since he was five,beginning with C64 Basic. His main professional goal in life is to increase awareness of programming languages and software quality in all industries that use software. He's an Arch Linux Developer Fellow,and has been working in the telecom and financial industry for a decade. Vesa lives in Jyvaskyla,central Finland

下载地址 Download
打赏
未经允许不得转载:finelybook » Mastering Rust: Learn about memory safety,type system,concurrency,and the new features of Rust 2018 edition,2nd Edition

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

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

支付宝扫一扫打赏

微信扫一扫打赏