舉報

會員
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.
最新章節(jié)
- Leave a review - let other readers know what you think
- Other Books You May Enjoy
- How it works...
- How to do it...
- Starting subprocesses
- How it works...
品牌:中圖公司
上架時間:2021-06-24 12:05:48
出版社:Packt Publishing
本書數(shù)字版權(quán)由中圖公司提供,并由其授權(quán)上海閱文信息技術有限公司制作發(fā)行
- Leave a review - let other readers know what you think 更新時間:2021-06-24 12:28:29
- Other Books You May Enjoy
- How it works...
- How to do it...
- Starting subprocesses
- How it works...
- How to do it...
- Configuring and using logging
- How it works...
- How to do it...
- Getting ready
- Running machine learning models
- How it works...
- How to do it...
- Sending web requests
- How it works...
- How to do it...
- Getting ready
- Working with piped input data
- How it works...
- How to do it...
- Custom command-line arguments
- How it works...
- How to do it...
- Recursively searching the filesystem
- How it works...
- How to do it...
- Extract text using regular expressions
- How it works...
- How to do it...
- Getting ready
- Parsing unstructured formats like JSON
- How it works...
- How to do it...
- Getting ready
- Writing to and reading from files
- How it works...
- How to do it...
- Generating random numbers
- Getting Practical with Rust
- How it works...
- How to do it...
- Efficiently reading hardware sensors
- How it works...
- How to do it...
- Creating I2C device drivers
- There's more...
- How it works...
- How to do it...
- Getting ready
- Cross-compiling Rust
- Systems Programming Made Easy
- How it works...
- How to do it...
- Getting ready
- Authentication on the web
- How it works...
- How to do it...
- Getting ready
- Running advanced queries using an ORM
- How it works...
- How to do it...
- Getting ready
- Using an ORM to save data to a database
- How it works...
- How to do it...
- Getting ready
- Rendering HTML templates
- How it works...
- How to do it...
- Getting ready
- Web error handling
- How it works...
- How to do it...
- Getting ready
- Handling JSON payloads
- How it works...
- How to do it...
- Getting ready
- Designing a RESTful API
- How it works...
- How to do it...
- Getting ready
- Setting up a web server
- Safe Programming for the Web
- How it works...
- How to do it...
- Getting ready
- Generating bindings for legacy applications
- How it works...
- How to do it...
- Getting ready
- Using Rust and Python
- How it works...
- How to do it...
- Getting ready
- Running Rust in the browser
- How it works...
- How to do it ...
- Getting ready
- Calling into Rust from Node.js using FFI
- How it works...
- How to do it...
- Getting ready
- Including legacy C code
- Integrating Rust with Other Languages
- How it works...
- How to do it...
- Don't Repeat Yourself
- How it works...
- How to do it...
- Using repeat for parameter ranges
- How it works...
- How to do it...
- Macro overloading
- How it works...
- How to do it...
- Code generation using macros
- How it works...
- How to do it...
- Using predefined macros
- How it works...
- How to do it...
- Implementing matching with macros
- How it works...
- How to do it...
- Building custom macros in Rust
- Expressing Yourself with Macros
- How it works...
- How to do it...
- Moving between Option and Result
- How it works...
- How to do it...
- Working with external crates for error handling
- How it works...
- How to do it...
- Resilient programming
- How it works...
- How to do it...
- Customizing errors
- How it works...
- How to do it...
- Seamless error handling
- How it works...
- How to do it...
- Working with exceptional results
- How it works...
- How to do it...
- Handling multiple errors
- How it works...
- How to do it...
- Panicking responsibly
- Handling Errors and Other Results
- How it works...
- How to do it...
- Asynchronous programming with futures
- How it works...
- How to do it...
- Handling asynchronous messages with actors
- How it works...
- How to do it...
- Shared immutable states
- How it works...
- How to do it...
- Concurrent data processing in vectors
- How it works...
- How to do it...
- Making sequential code parallel
- How it works...
- How to do it...
- Multiprocessing in Rust
- How it works...
- How to do it...
- Sharing mutable states
- How it works...
- How to do it...
- Using channels to communicate between threads
- How it works...
- How to do it...
- Managing multiple threads
- How it works...
- How to do it...
- Moving data into new threads
- Fearless Concurrency
- How it works...
- How to do it...
- Customizing the build
- How it works...
- How to do it...
- Getting ready
- Continuous integration with cargo
- How it works...
- How to do it...
- Testing your project with cargo
- How it works...
- How to do it...
- Getting ready
- Extending cargo with sub-commands
- See also...
- How it works...
- How to do it...
- Using dependencies and external crates
- How it works...
- How to do it...
- Getting ready
- Uploading to crates.io
- How it works...
- How to do it...
- Organizing large projects with workspaces
- Managing Projects with Cargo
- How it works...
- How to do it...
- Working with generic data types
- How it works...
- How to do it...
- Enforcing behavior with trait bounds
- How it works...
- How to do it...
- Referencing with explicit lifetimes
- How it works...
- How to do it...
- Getting ready
- Shared mutable ownership
- How it works...
- How to do it...
- Getting ready
- Shared ownership
- How it works...
- How to do it...
- Reading memory the unsafe way
- How it works...
- How to do it...
- Getting ready
- Filtering and transforming sequences efficiently
- How it works...
- How to do it...
- Getting ready
- Implementing custom iterators
- How it works...
- How to do it...
- Complex conditions with pattern matching
- How it works...
- How to do it...
- There is no null
- How it works...
- How to do it...
- Creating meaningful numbers with enums
- Going Further with Advanced Rust
- How it works...
- How to do it...
- Getting ready
- Debugging Rust
- How it works...
- How to do it...
- Sequence types in Rust
- How it works...
- How to do it...
- Sharing code among types
- How it works...
- How to do it...
- Getting ready
- Testing your documentation
- How it works...
- How to do it...
- Getting ready
- Documenting your code
- How it works...
- How to do it...
- Getting ready
- Writing tests and benchmarks
- How it works...
- How to do it...
- Getting ready
- Splitting your code with crates and modules
- How it works...
- How to do it...
- Controlling execution flow
- How it works...
- How to do it...
- Creating and using data types
- How it works...
- How to do it...
- Working with the command line I/O
- How it works...
- Troubleshooting
- Installing Visual Studio Code and extensions
- Managing the Rust installation with rustup.rs
- How to do it...
- Getting ready
- Setting up your environment
- Starting Off with Rust
- Reviews
- Get in touch
- See also
- There's more…
- How it works…
- How to do it…
- Getting ready
- Sections
- Conventions used
- Code in Action
- Download the color images
- Download the example code files
- To get the most out of this book
- What this book covers
- Who this book is for
- Preface
- Packt is searching for authors like you
- About the reviewer
- About the author
- Contributors
- Foreword
- Why subscribe?
- About Packt
- Dedication
- Rust Programming Cookbook
- Copyright and Credits
- Title Page
- coverpage
- 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 更新時間:2021-06-24 12:28:29