Rust Programming By Example

Rust Programming By Example Book in PDF, ePub and Kindle version is available to download in english. Read online anytime anywhere directly from your device. Click on the download button below to get a free pdf file of Rust Programming By Example book. This book definitely worth reading, it is an incredibly well-written.

Rust Programming By Example

Author : Guillaume Gomez,Antoni Boucher
Publisher : Packt Publishing Ltd
Page : 443 pages
File Size : 43,8 Mb
Release : 2018-01-11
Category : Computers
ISBN : 9781788470308

Get Book

Rust Programming By Example by Guillaume Gomez,Antoni Boucher Pdf

Discover the world of Rust programming through real-world examples Key Features Implement various features of Rust to build blazingly fast applications Learn to build GUI applications using Gtk-rs Explore the multi-threading aspect of Rust to tackle problems in concurrency and in distributed environments Book Description Rust is an open source, safe, concurrent, practical language created by Mozilla. It runs blazingly fast, prevents segfaults, and guarantees safety. This book gets you started with essential software development by guiding you through the different aspects of Rust programming. With this approach, you can bridge the gap between learning and implementing immediately. Beginning with an introduction to Rust, you’ll learn the basic aspects such as its syntax, data types, functions, generics, control flows, and more. After this, you’ll jump straight into building your first project, a Tetris game. Next you’ll build a graphical music player and work with fast, reliable networking software using Tokio, the scalable and productive asynchronous IO Rust library. Over the course of this book, you’ll explore various features of Rust Programming including its SDL features, event loop, File I/O, and the famous GTK+ widget toolkit. Through these projects, you’ll see how well Rust performs in terms of concurrency—including parallelism, reliability, improved performance, generics, macros, and thread safety. We’ll also cover some asynchronous and reactive programming aspects of Rust. By the end of the book, you’ll be comfortable building various real-world applications in Rust. What you will learn Compile and run the Rust projects using the Cargo-Rust Package manager Use Rust-SDL features such as the event loop, windows, infinite loops, pattern matching, and more Create a graphical interface using Gtk-rs and Rust-SDL Incorporate concurrency mechanism and multi-threading along with thread safety and locks Implement the FTP protocol using an Asynchronous I/O stack with the Tokio library Who this book is for This book is for software developers interested in system level and application programming who are looking for a quick entry into using Rust and understanding the core features of the Rust Programming. It’s assumed that you have a basic understanding of Java, C#, Ruby, Python, or JavaScript.

The Rust Programming Language (Covers Rust 2018)

Author : Steve Klabnik,Carol Nichols
Publisher : No Starch Press
Page : 561 pages
File Size : 44,8 Mb
Release : 2019-09-03
Category : Computers
ISBN : 9781718500457

Get Book

The Rust Programming Language (Covers Rust 2018) by Steve Klabnik,Carol Nichols Pdf

The official book on the Rust programming language, written by the Rust development team at the Mozilla Foundation, fully updated for Rust 2018. The Rust Programming Language is the official book on Rust: an open source systems programming language that helps you write faster, more reliable software. Rust offers control over low-level details (such as memory usage) in combination with high-level ergonomics, eliminating the hassle traditionally associated with low-level languages. The authors of The Rust Programming Language, members of the Rust Core Team, share their knowledge and experience to show you how to take full advantage of Rust's features--from installation to creating robust and scalable programs. You'll begin with basics like creating functions, choosing data types, and binding variables and then move on to more advanced concepts, such as: Ownership and borrowing, lifetimes, and traits Using Rust's memory safety guarantees to build fast, safe programs Testing, error handling, and effective refactoring Generics, smart pointers, multithreading, trait objects, and advanced pattern matching Using Cargo, Rust's built-in package manager, to build, test, and document your code and manage dependencies How best to use Rust's advanced compiler with compiler-led programming techniques You'll find plenty of code examples throughout the book, as well as three chapters dedicated to building complete projects to test your learning: a number guessing game, a Rust implementation of a command line tool, and a multithreaded server. New to this edition: An extended section on Rust macros, an expanded chapter on modules, and appendixes on Rust development tools and editions.

Rust for Rustaceans

Author : Jon Gjengset
Publisher : No Starch Press
Page : 282 pages
File Size : 54,7 Mb
Release : 2021-12-21
Category : Computers
ISBN : 9781718501867

Get Book

Rust for Rustaceans by Jon Gjengset Pdf

Master professional-level coding in Rust. For developers who’ve mastered the basics, this book is the next step on your way to professional-level programming in Rust. It covers everything you need to build and maintain larger code bases, write powerful and flexible applications and libraries, and confidently expand the scope and complexity of your projects. Author Jon Gjengset takes you deep into the Rust programming language, dissecting core topics like ownership, traits, concurrency, and unsafe code. You’ll explore key concepts like type layout and trait coherence, delve into the inner workings of concurrent programming and asynchrony with async/await, and take a tour of the world of no_std programming. Gjengset also provides expert guidance on API design, testing strategies, and error handling, and will help develop your understanding of foreign function interfaces, object safety, procedural macros, and much more. You'll Learn: How to design reliable, idiomatic, and ergonomic Rust programs based on best principles Effective use of declarative and procedural macros, and the difference between them How asynchrony works in Rust – all the way from the Pin and Waker types used in manual implementations of Futures, to how async/await saves you from thinking about most of those words What it means for code to be unsafe, and best practices for writing and interacting with unsafe functions and traits How to organize and configure more complex Rust projects so that they integrate nicely with the rest of the ecosystem How to write Rust code that can interoperate with non-Rust libraries and systems, or run in constrained and embedded environments Brimming with practical, pragmatic insights that you can immediately apply, Rust for Rustaceans helps you do more with Rust, while also teaching you its underlying mechanisms.

Hands-on Rust

Author : Herbert Wolverson
Publisher : Pragmatic Bookshelf
Page : 446 pages
File Size : 41,5 Mb
Release : 2021-06-30
Category : Computers
ISBN : 9781680508802

Get Book

Hands-on Rust by Herbert Wolverson Pdf

Rust is an exciting new programming language combining the power of C with memory safety, fearless concurrency, and productivity boosters - and what better way to learn than by making games. Each chapter in this book presents hands-on, practical projects ranging from "Hello, World" to building a full dungeon crawler game. With this book, you'll learn game development skills applicable to other engines, including Unity and Unreal. Rust is an exciting programming language combining the power of C with memory safety, fearless concurrency, and productivity boosters. With Rust, you have a shiny new playground where your game ideas can flourish. Each chapter in this book presents hands-on, practical projects that take you on a journey from "Hello, World" to building a full dungeon crawler game. Start by setting up Rust and getting comfortable with your development environment. Learn the language basics with practical examples as you make your own version of Flappy Bird. Discover what it takes to randomly generate dungeons and populate them with monsters as you build a complete dungeon crawl game. Run game systems concurrently for high-performance and fast game-play, while retaining the ability to debug your program. Unleash your creativity with magical items, tougher monsters, and intricate dungeon design. Add layered graphics and polish your game with style. What You Need: A computer running Windows 10, Linux, or Mac OS X.A text editor, such as Visual Studio Code.A video card and drivers capable of running OpenGL 3.2.

Rust in Action

Author : Tim McNamara
Publisher : Simon and Schuster
Page : 454 pages
File Size : 45,9 Mb
Release : 2021-09-07
Category : Computers
ISBN : 9781638356226

Get Book

Rust in Action by Tim McNamara Pdf

"This well-written book will help you make the most of what Rust has to offer." - Ramnivas Laddad, author of AspectJ in Action Rust in Action is a hands-on guide to systems programming with Rust. Written for inquisitive programmers, it presents real-world use cases that go far beyond syntax and structure. Summary Rust in Action introduces the Rust programming language by exploring numerous systems programming concepts and techniques. You'll be learning Rust by delving into how computers work under the hood. You'll find yourself playing with persistent storage, memory, networking and even tinkering with CPU instructions. The book takes you through using Rust to extend other applications and teaches you tricks to write blindingly fast code. You'll also discover parallel and concurrent programming. Filled to the brim with real-life use cases and scenarios, you'll go beyond the Rust syntax and see what Rust has to offer in real-world use cases. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Rust is the perfect language for systems programming. It delivers the low-level power of C along with rock-solid safety features that let you code fearlessly. Ideal for applications requiring concurrency, Rust programs are compact, readable, and blazingly fast. Best of all, Rust’s famously smart compiler helps you avoid even subtle coding errors. About the book Rust in Action is a hands-on guide to systems programming with Rust. Written for inquisitive programmers, it presents real-world use cases that go far beyond syntax and structure. You’ll explore Rust implementations for file manipulation, networking, and kernel-level programming and discover awesome techniques for parallelism and concurrency. Along the way, you’ll master Rust’s unique borrow checker model for memory management without a garbage collector. What's inside Elementary to advanced Rust programming Practical examples from systems programming Command-line, graphical and networked applications About the reader For intermediate programmers. No previous experience with Rust required. About the author Tim McNamara uses Rust to build data processing pipelines and generative art. He is an expert in natural language processing and data engineering. Table of Contents 1 Introducing Rust PART 1 RUST LANGUAGE DISTINCTIVES 2 Language foundations 3 Compound data types 4 Lifetimes, ownership, and borrowing PART 2 DEMYSTIFYING SYSTEMS PROGRAMMING 5 Data in depth 6 Memory 7 Files and storage 8 Networking 9 Time and timekeeping 10 Processes, threads, and containers 11 Kernel 12 Signals, interrupts, and exceptions

Programming Rust

Author : Jim Blandy,Jason Orendorff,Leonora F .S. Tindall
Publisher : "O'Reilly Media, Inc."
Page : 738 pages
File Size : 41,6 Mb
Release : 2021-06-11
Category : Electronic
ISBN : 9781492052548

Get Book

Programming Rust by Jim Blandy,Jason Orendorff,Leonora F .S. Tindall Pdf

Systems programming provides the foundation for the world's computation. Writing performance-sensitive code requires a programming language that puts programmers in control of how memory, processor time, and other system resources are used. The Rust systems programming language combines that control with a modern type system that catches broad classes of common mistakes, from memory management errors to data races between threads. With this practical guide, experienced systems programmers will learn how to successfully bridge the gap between performance and safety using Rust. Jim Blandy, Jason Orendorff, and Leonora Tindall demonstrate how Rust's features put programmers in control over memory consumption and processor use by combining predictable performance with memory safety and trustworthy concurrency. You'll learn: Rust's fundamental data types and the core concepts of ownership and borrowing How to write flexible, efficient code with traits and generics How to write fast, multithreaded code without data races Rust's key power tools: closures, iterators, and asynchronous programming Collections, strings and text, input and output, macros, unsafe code, and foreign function interfaces This revised, updated edition covers the Rust 2021 Edition.

Programming Rust

Author : Jim Blandy,Jason Orendorff
Publisher : "O'Reilly Media, Inc."
Page : 780 pages
File Size : 51,7 Mb
Release : 2017-11-21
Category : Computers
ISBN : 9781491927236

Get Book

Programming Rust by Jim Blandy,Jason Orendorff Pdf

Rust is a new systems programming language that combines the performance and low-level control of C and C++ with memory safety and thread safety. Rust’s modern, flexible types ensure your program is free of null pointer dereferences, double frees, dangling pointers, and similar bugs, all at compile time, without runtime overhead. In multi-threaded code, Rust catches data races at compile time, making concurrency much easier to use. Written by two experienced systems programmers, this book explains how Rust manages to bridge the gap between performance and safety, and how you can take advantage of it. Topics include: How Rust represents values in memory (with diagrams) Complete explanations of ownership, moves, borrows, and lifetimes Cargo, rustdoc, unit tests, and how to publish your code on crates.io, Rust’s public package repository High-level features like generic code, closures, collections, and iterators that make Rust productive and flexible Concurrency in Rust: threads, mutexes, channels, and atomics, all much safer to use than in C or C++ Unsafe code, and how to preserve the integrity of ordinary code that uses it Extended examples illustrating how pieces of the language fit together

Learning Rust

Author : Paul Johnson,Vesa Kaihlavirta
Publisher : Packt Publishing Ltd
Page : 300 pages
File Size : 50,9 Mb
Release : 2017-11-24
Category : Computers
ISBN : 9781785888885

Get Book

Learning Rust by Paul Johnson,Vesa Kaihlavirta Pdf

Start building fast and robust applications with the power of Rust by your side About This Book Get started with the language to build scalable and high performance applications This book will help C#/C++ developers gain better performance and memory management Discover the power of Rust when developing concurrent applications for large and scalable software Who This Book Is For The book is for absolute beginners to Rust, who want to build high performance, concurrent applications for their projects. It is suitable for developers who have a basic knowledge of programming and developers who are using the C#/C++ language to write their applications. No knowledge of Rust is expected. What You Will Learn Set up Rust for Windows, Linux, and OS X Write effective code using Rust Expand your Rust applications using libraries Interface existing non-Rust libraries with your Rust applications Use the standard library within your applications Understand memory management within Rust and speed efficiency when passing variables Create more complex data types Study concurrency in Rust with multi-threaded applications and sync threading techniques to improve the performance of an application problem In Detail Rust is a highly concurrent and high performance language that focuses on safety and speed, memory management, and writing clean code. It also guarantees thread safety, and its aim is to improve the performance of existing applications. Its potential is shown by the fact that it has been backed by Mozilla to solve the critical problem of concurrency. Learning Rust will teach you to build concurrent, fast, and robust applications. From learning the basic syntax to writing complex functions, this book will is your one stop guide to get up to speed with the fundamentals of Rust programming. We will cover the essentials of the language, including variables, procedures, output, compiling, installing, and memory handling. You will learn how to write object-oriented code, work with generics, conduct pattern matching, and build macros. You will get to know how to communicate with users and other services, as well as getting to grips with generics, scoping, and more advanced conditions. You will also discover how to extend the compilation unit in Rust. By the end of this book, you will be able to create a complex application in Rust to move forward with. Style and approach This comprehensive book will focus on the Rust syntax, functions, data types, and conducting pattern matching for programmers. It is divided into three parts and each part of the book has an objective to enable the readers to create their own applications at an appropriate level, ultimately towards creating complex applications.

Practical System Programming for Rust Developers

Author : Prabhu Eshwarla
Publisher : Packt Publishing Ltd
Page : 388 pages
File Size : 43,9 Mb
Release : 2020-12-24
Category : Computers
ISBN : 9781800562011

Get Book

Practical System Programming for Rust Developers by Prabhu Eshwarla Pdf

Explore various Rust features, data structures, libraries, and toolchain to build modern systems software with the help of hands-on examples Key FeaturesLearn techniques to design and build system tools and utilities in RustExplore the different features of the Rust standard library for interacting with operating systemsGain an in-depth understanding of the Rust programming language by writing low-level softwareBook Description Modern programming languages such as Python, JavaScript, and Java have become increasingly accepted for application-level programming, but for systems programming, C and C++ are predominantly used due to the need for low-level control of system resources. Rust promises the best of both worlds: the type safety of Java, and the speed and expressiveness of C++, while also including memory safety without a garbage collector. This book is a comprehensive introduction if you’re new to Rust and systems programming and are looking to build reliable and efficient systems software without C or C++. The book takes a unique approach by starting each topic with Linux kernel concepts and APIs relevant to that topic. You’ll also explore how system resources can be controlled from Rust. As you progress, you’ll delve into advanced topics. You’ll cover network programming, focusing on aspects such as working with low-level network primitives and protocols in Rust, before going on to learn how to use and compile Rust with WebAssembly. Later chapters will take you through practical code examples and projects to help you build on your knowledge. By the end of this Rust programming book, you will be equipped with practical skills to write systems software tools, libraries, and utilities in Rust. What you will learnGain a solid understanding of how system resources are managedUse Rust confidently to control and operate a Linux or Unix systemUnderstand how to write a host of practical systems software tools and utilitiesDelve into memory management with the memory layout of Rust programsDiscover the capabilities and features of the Rust Standard LibraryExplore external crates to improve productivity for future Rust programming projectsWho this book is for This book is for developers with basic knowledge of Rust but little to no knowledge or experience of systems programming. System programmers who want to consider Rust as an alternative to C or C++ will also find this book useful.

Rust Programming for Beginners

Author : Nathan Metzler
Publisher : Unknown
Page : 174 pages
File Size : 44,9 Mb
Release : 2021-06-24
Category : Electronic
ISBN : 9798525883406

Get Book

Rust Programming for Beginners by Nathan Metzler Pdf

Harness the Raw Power of the Rust Programming Language and Build High-Performance, Scalable and Fault-Tolerant Applications with the Ultimate Beginners Guide to Rust! Are you interested in learning how to program powerful applications that serve millions of users concurrently without breaking, but have no idea how to begin? Are you currently an object-oriented programmer looking to pivot to functional programming languages? If your answer is yes to any of the questions above, then learning the Rust programming language is one of the best things you can do for your software career! In this comprehensive introduction to the Rust programming language for beginners, Nathan Metzler gives you a complete look under the hood of Rust and shows you how to take advantage of Rust's powerful features from installing Rust on your computer and running your first code to creating scalable applications. Among the pages of Rust Programming for Beginners, you're going to discover: All you need to know about the Rust programming language as a beginner to help you get started on the right foot Step-by-step instructions to install Rust on Windows, macOS, Linux, and FreeBSD with images How to write, compile and execute your first piece of working code with Rust programming language How to build and run projects in rust as well as identify and troubleshoot compile-time and runtime errors A crash course to the basics of Rust language syntax and data types from statements and comments to integers and boolean Programming examples in Rust designed to help you enhance your coding knowledge and sharpen your programming skill with the Rust language ...and tons more! Properly-paced, filler-free, and specifically designed for beginners to Rust, this book is a complete guide to help newbies get up to speed with Rust and is brimming with practical advice to leverage the performance of Rust, as well as code examples to test your knowledge. Ready to master one of the world's most powerful and versatile programming languages? Scroll to the top of the page and click the "Buy Now with 1-Click" button to get started TODAY!

Rust Programming Cookbook

Author : Claus Matzinger
Publisher : Packt Publishing Ltd
Page : 434 pages
File Size : 52,5 Mb
Release : 2019-10-18
Category : Computers
ISBN : 9781789531749

Get Book

Rust Programming Cookbook by Claus Matzinger Pdf

Practical solutions to overcome challenges in creating console and web applications and working with systems-level and embedded code, network programming, deep neural networks, and much more. Key FeaturesWork through recipes featuring advanced concepts such as concurrency, unsafe code, and macros to migrate your codebase to the Rust programming language Learn how to run machine learning models with Rust Explore error handling, macros, and modularization to write maintainable codeBook Description Rust 2018, Rust's first major milestone since version 1.0, brings more advancement in the Rust language. The Rust Programming Cookbook is a practical guide to help you overcome challenges when writing Rust code. This Rust book covers recipes for configuring Rust for different environments and architectural designs, and provides solutions to practical problems. It will also take you through Rust's core concepts, enabling you to create efficient, high-performance applications that use features such as zero-cost abstractions and improved memory management. As you progress, you'll delve into more advanced topics, including channels and actors, for building scalable, production-grade applications, and even get to grips with error handling, macros, and modularization to write maintainable code. You will then learn how to overcome common roadblocks when using Rust for systems programming, IoT, web development, and network programming. Finally, you'll discover what Rust 2018 has to offer for embedded programmers. By the end of the book, you'll have learned how to build fast and safe applications and services using Rust. What you will learnUnderstand how Rust provides unique solutions to solve system programming language problemsGrasp the core concepts of Rust to develop fast and safe applicationsExplore the possibility of integrating Rust units into existing applications for improved efficiencyDiscover how to achieve better parallelism and security with RustWrite Python extensions in RustCompile external assembly files and use the Foreign Function Interface (FFI)Build web applications and services using Rust for high performanceWho this book is for The Rust cookbook is for software developers looking to enhance their knowledge of Rust and leverage its features using modern programming practices. Familiarity with Rust language is expected to get the most out of this book.

Rust Standard Library Cookbook

Author : Jan Hohenheim,Daniel Durante
Publisher : Packt Publishing Ltd
Page : 354 pages
File Size : 48,9 Mb
Release : 2018-03-29
Category : Computers
ISBN : 9781788629652

Get Book

Rust Standard Library Cookbook by Jan Hohenheim,Daniel Durante Pdf

Explore the Rust Standard library and compose algorithms with minimal dependency on external libraries Key Features Develop high-quality, fast, and portable applications by leveraging the power of Rust's Standard library. Practical recipes that will help you work with the Standard library to boost your productivity as a Rust developer. Learn about most relevant external crates to be used along with the Standard library. Book Description Mozilla’s Rust is gaining much attention with amazing features and a powerful library. This book will take you through varied recipes to teach you how to leverage the Standard library to implement efficient solutions. The book begins with a brief look at the basic modules of the Standard library and collections. From here, the recipes will cover packages that support file/directory handling and interaction through parsing. You will learn about packages related to advanced data structures, error handling, and networking. You will also learn to work with futures and experimental nightly features. The book also covers the most relevant external crates in Rust. By the end of the book, you will be proficient at using the Rust Standard library. What you will learn How to use the basic modules of the library: strings, command line access, and more. Implement collections and folding of collections using vectors, Deque, linked lists, and more. Handle various file types , compressing and decompressing data. Search for files with glob patterns. Implement parsing through various formats such as CSV, TOML, and JSON. Utilize drop trait , the Rust version of destructor. Resource locking with Bilocks. Who this book is for This book is for developers who would like to explore the power of Rust and learn to use the STL for various functionalities. A basic Rust programming knowledge is assumed.

Hands-On Functional Programming in Rust

Author : Andrew Johnson
Publisher : Packt Publishing Ltd
Page : 282 pages
File Size : 47,9 Mb
Release : 2018-05-31
Category : Computers
ISBN : 9781788831581

Get Book

Hands-On Functional Programming in Rust by Andrew Johnson Pdf

Explore the support Rust offers for creating functional applications in Rust. Learn about various design patterns, implementing concurrency, metaprogramming, and so on in the process Key Features Learn generics, organization, and design patterns in functional programming Modularize your applications and make them highly reusable and testable using functional design patterns Get familiar with complex concepts such as metaprogramming, concurrency, and immutability Book Description Functional programming allows developers to divide programs into smaller, reusable components that ease the creation, testing, and maintenance of software as a whole. Combined with the power of Rust, you can develop robust and scalable applications that fulfill modern day software requirements. This book will help you discover all the Rust features that can be used to build software in a functional way. We begin with a brief comparison of the functional and object-oriented approach to different problems and patterns. We then quickly look at the patterns of control flow, data the abstractions of these unique to functional programming. The next part covers how to create functional apps in Rust; mutability and ownership, which are exclusive to Rust, are also discussed. Pure functions are examined next and you'll master closures, their various types, and currying. We also look at implementing concurrency through functional design principles and metaprogramming using macros. Finally, we look at best practices for debugging and optimization. By the end of the book, you will be familiar with the functional approach of programming and will be able to use these techniques on a daily basis. What you will learn How Rust supports the use of basic functional programming principles Use functional programming to handle concurrency with elegance Read and interpret complex type signatures for types and functions Implement powerful abstractions using meta programming in Rust Create quality code formulaically using Rust's functional design patterns Master Rust's complex ownership mechanisms particularly for mutability Who this book is for This book is for Rust developers who are comfortable with the language and now want to improve their coding abilities by learning advanced functional techniques to enhance their skillset and create robust and testable apps.

Command-Line Rust

Author : Ken Youens-Clark
Publisher : "O'Reilly Media, Inc."
Page : 403 pages
File Size : 45,7 Mb
Release : 2022-01-13
Category : Computers
ISBN : 9781098109400

Get Book

Command-Line Rust by Ken Youens-Clark Pdf

For several consecutive years, Rust has been voted "most loved programming language" in Stack Overflow's annual developer survey. This open source systems programming language is now used for everything from game engines and operating systems to browser components and virtual reality simulation engines. But Rust is also an incredibly complex language with a notoriously difficult learning curve. Rather than focusing on the language as a whole, this guide teaches Rust using a single small, complete, focused program in each chapter. Author Ken Youens-Clark shows you how to start, write, and test each of these programs to create a finished product. You'll learn how to handle errors in Rust, read and write files, and use regular expressions, Rust types, structs, and more. Discover how to: Use Rust's standard libraries and data types such as numbers, strings, vectors, structs, Options, and Results to create command-line programs Write and test Rust programs and functions Read and write files, including stdin, stdout, and stderr Document and validate command-line arguments Write programs that fail gracefully Parse raw and delimited text manually, using regular expressions and Rust crates Use and control randomness

Practical Rust Projects

Author : Shing Lyu
Publisher : Apress
Page : 265 pages
File Size : 43,5 Mb
Release : 2020-02-27
Category : Computers
ISBN : 9781484255995

Get Book

Practical Rust Projects by Shing Lyu Pdf

Go beyond the basics and build complete applications using the Rust programming language. The applications in this book include a high-performance web client, a microcontroller (for a robot, for example), a game, an app that runs on Android, and an application that incorporates AI and machine learning. Each chapter will be organized in the following format: what this kind of application looks like; requirements and user stories of our example program; an introduction to the Rust libraries used; the actual implementation of the example program, including common pitfalls and their solutions; and a brief comparison of libraries for building each application, if there is no clear winner. Practical Rust Projects will open your eyes to the world of practical applications of Rust. After reading the book, you will be able to apply your Rust knowledge to build your own projects. What You Will Learn Write Rust code that runs on microcontrollers Build a 2D game Create Rust-based mobile Android applications Use Rust to build AI and machine learning applications Who This Book Is For Someone with basic Rust knowledge, wishing to learn more about how to apply Rust in a real-world scenario.