舉報(bào)

會(huì)員
Rust Programming Cookbook
Rust2018,Rust'sfirstmajormilestonesinceversion1.0,bringsmoreadvancementintheRustlanguage.TheRustProgrammingCookbookisapracticalguidetohelpyouovercomechallengeswhenwritingRustcode.ThisRustbookcoversrecipesforconfiguringRustfordifferentenvironmentsandarchitecturaldesigns,andprovidessolutionstopracticalproblems.ItwillalsotakeyouthroughRust'scoreconcepts,enablingyoutocreateefficient,high-performanceapplicationsthatusefeaturessuchaszero-costabstractionsandimprovedmemorymanagement.Asyouprogress,you'lldelveintomoreadvancedtopics,includingchannelsandactors,forbuildingscalable,production-gradeapplications,andevengettogripswitherrorhandling,macros,andmodularizationtowritemaintainablecode.YouwillthenlearnhowtoovercomecommonroadblockswhenusingRustforsystemsprogramming,IoT,webdevelopment,andnetworkprogramming.Finally,you'lldiscoverwhatRust2018hastoofferforembeddedprogrammers.Bytheendofthebook,you'llhavelearnedhowtobuildfastandsafeapplicationsandservicesusingRust.
目錄(319章)
倒序
- coverpage
- Title Page
- Copyright and Credits
- Rust Programming Cookbook
- Dedication
- About Packt
- Why subscribe?
- Foreword
- Contributors
- About the author
- About the reviewer
- Packt is searching for authors like you
- Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Download the color images
- Code in Action
- Conventions used
- Sections
- Getting ready
- How to do it…
- How it works…
- There's more…
- See also
- Get in touch
- Reviews
- 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...
- 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...
- 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...
- 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
- How to do it...
- How it works...
- Handling asynchronous messages with actors
- How to do it...
- How it works...
- Asynchronous programming with futures
- How to do it...
- How it works...
- Handling Errors and Other Results
- Panicking responsibly
- How to do it...
- How it works...
- Handling multiple errors
- How to do it...
- How it works...
- Working with exceptional results
- How to do it...
- How it works...
- Seamless error handling
- How to do it...
- How it works...
- Customizing errors
- How to do it...
- How it works...
- Resilient programming
- How to do it...
- How it works...
- Working with external crates for error handling
- How to do it...
- How it works...
- Moving between Option and Result
- How to do it...
- How it works...
- Expressing Yourself with Macros
- Building custom macros in Rust
- How to do it...
- How it works...
- Implementing matching with macros
- How to do it...
- How it works...
- Using predefined macros
- How to do it...
- How it works...
- Code generation using macros
- How to do it...
- How it works...
- Macro overloading
- How to do it...
- How it works...
- Using repeat for parameter ranges
- How to do it...
- How it works...
- Don't Repeat Yourself
- How to do it...
- How it works...
- Integrating Rust with Other Languages
- Including legacy C code
- Getting ready
- How to do it...
- How it works...
- Calling into Rust from Node.js using FFI
- Getting ready
- How to do it ...
- How it works...
- Running Rust in the browser
- Getting ready
- How to do it...
- How it works...
- Using Rust and Python
- Getting ready
- How to do it...
- How it works...
- Generating bindings for legacy applications
- Getting ready
- How to do it...
- How it works...
- Safe Programming for the Web
- Setting up a web server
- Getting ready
- How to do it...
- How it works...
- Designing a RESTful API
- Getting ready
- How to do it...
- How it works...
- Handling JSON payloads
- Getting ready
- How to do it...
- How it works...
- Web error handling
- Getting ready
- How to do it...
- How it works...
- Rendering HTML templates
- Getting ready
- How to do it...
- How it works...
- Using an ORM to save data to a database
- Getting ready
- How to do it...
- How it works...
- Running advanced queries using an ORM
- Getting ready
- How to do it...
- How it works...
- Authentication on the web
- Getting ready
- How to do it...
- How it works...
- Systems Programming Made Easy
- Cross-compiling Rust
- Getting ready
- How to do it...
- How it works...
- There's more...
- Creating I2C device drivers
- How to do it...
- How it works...
- Efficiently reading hardware sensors
- How to do it...
- How it works...
- Getting Practical with Rust
- Generating random numbers
- How to do it...
- How it works...
- Writing to and reading from files
- Getting ready
- How to do it...
- How it works...
- Parsing unstructured formats like JSON
- Getting ready
- How to do it...
- How it works...
- Extract text using regular expressions
- How to do it...
- How it works...
- Recursively searching the filesystem
- How to do it...
- How it works...
- Custom command-line arguments
- How to do it...
- How it works...
- Working with piped input data
- Getting ready
- How to do it...
- How it works...
- Sending web requests
- How to do it...
- How it works...
- Running machine learning models
- Getting ready
- How to do it...
- How it works...
- Configuring and using logging
- How to do it...
- How it works...
- Starting subprocesses
- How to do it...
- How it works...
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時(shí)間:2021-06-24 12:28:29
推薦閱讀
- HTML5+CSS3王者歸來(lái)
- Python編程自學(xué)手冊(cè)
- Oracle 11g從入門到精通(第2版) (軟件開(kāi)發(fā)視頻大講堂)
- SQL Server 2012數(shù)據(jù)庫(kù)管理與開(kāi)發(fā)項(xiàng)目教程
- SAP BusinessObjects Dashboards 4.1 Cookbook
- R大數(shù)據(jù)分析實(shí)用指南
- Arduino家居安全系統(tǒng)構(gòu)建實(shí)戰(zhàn)
- Machine Learning in Java
- Kubernetes源碼剖析
- 數(shù)據(jù)分析與挖掘算法:Python實(shí)戰(zhàn)
- TypeScript圖形渲染實(shí)戰(zhàn):2D架構(gòu)設(shè)計(jì)與實(shí)現(xiàn)
- 3ds Max 2018從入門到精通
- Python計(jì)算機(jī)視覺(jué)與深度學(xué)習(xí)實(shí)戰(zhàn)
- MonoTouch應(yīng)用開(kāi)發(fā)實(shí)踐指南:使用C#和.NET開(kāi)發(fā)iOS應(yīng)用
- 深度學(xué)習(xí)的數(shù)學(xué):使用Python語(yǔ)言
- Real-time Web Application Development using Vert.x 2.0
- LabVIEW案例實(shí)戰(zhàn)
- The PHP Workshop
- 企業(yè)級(jí)DevOps技術(shù)與工具實(shí)戰(zhàn)
- Docker與Kubernetes容器虛擬化技術(shù)與應(yīng)用
- 網(wǎng)頁(yè)游戲開(kāi)發(fā)秘笈
- Python算法設(shè)計(jì)與分析從入門到精通
- Angular從零到一
- Puppet Reporting and Monitoring
- Learning PostgreSQL 11
- Clojure Data Analysis Cookbook(Second Edition)
- C 語(yǔ)言程序設(shè)計(jì)能力教程(第四版)
- jQuery開(kāi)發(fā)指南
- Learning Magento Theme Development
- 實(shí)用軟件架構(gòu):從系統(tǒng)環(huán)境到軟件部署