Learn Rust Programming: Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem (English Edition)

· BPB Publications
Ebook
268
Pages
Ratings and reviews aren’t verified  Learn More

About this ebook

Become a Rustacean and a successful software engineer

 

KEY FEATURES 

● Introduces Rust's fundamentals, key concepts, syntax, toolkit, and frameworks

● Extensive examples demonstrating dependable, efficient, and understandable code for producing maintainable software

● Includes coding challenges and useful exercises to make learning to code fun

 

DESCRIPTION

"Learn Rust Programming" assists every programmer in learning Rust and filling in the gaps left by other programming languages in developing full-proof apps and systems. This book covers every vital feature a programmer requires, including basic principles, syntax, clean coding, application testing, popular libraries, and numerous examples and small programmes.

 

As a first step in understanding the language, this book tries to present a profoundly practical method for overcoming this learning curve. Using engaging coding challenges and practical projects, the reader can anticipate learning programming fundamentals, developing advanced concurrent code, contributing to open-source projects, and ultimately pursuing a career in Rust. In addition to programming, this book covers the fundamentals of software engineering to develop maintainable and well-documented projects with the help of built-in tools.

 

As novice software engineers, readers of this book will be able to develop excellent software independently as part of a bigger team. Using Rust, they can join one of the numerous crypto, gaming, IoT, or cloud infrastructure organizations to mark their success of knowledge.

 

WHAT YOU WILL LEARN

● Learn Rust's syntax, variables, control structures, enums, and traits.

● Write unit tests, integration tests, and documentation for the software codes.

● Use data structures, commands for running cargo, and any third-party libraries.

● Create durable and maintainable programmes by structuring code correctly.

● Use generics, lifetimes, I/O runtimes, concurrency, and futures in your code.

● Developing declarative macros and taking advantage of heap memory.

 

WHO THIS BOOK IS FOR

This book interests all kinds of sound programmers who want their applications to be efficient and reliable over time. It also attracts novices and recent graduates who wish to become young programmers with a solid grasp of the programming language of the 21st century.

 

TABLE OF CONTENTS

1. Building the basics

2. Controlling the program flow

3. Organizing for reuse

4. Interfacing with code and errors

5. Borrowing ownership with scopes

6. Working with collections

7. Reading input d writing output

8. Using crates with cargo

9. Testing what you build

10. Documenting what you build

11. Generating code with macros

12. Using heap memory effectively

13. Running concurrent code

14. Writing async code

15. Working with generics

16. Calling unsafe and foreign functions


About the author

Claus Matzinger is a software engineer with more than 10 years of experience. In previous roles at Microsoft and crate.io, he could work on the most challenging problems of the tech industry. Now, as a full-time Rustacean in the crypto world, he can follow his passion of writing the best Rust code. Claus authored several books and courses on the Rust programming language and organized many community events in his former hometown of Berlin.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.