Practical Rust Projects
Apress (Verlag)
978-1-4842-5598-8 (ISBN)
- Lieferbar
- Versandkostenfrei
- Auch auf Rechnung
- Artikel merken
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.
Shing Lyu is a software engineer who is passionate about open source software. He's worked on Rust professionally at Mozilla, on the Firefox (Gecko) and Servo browser engine project. Currently, he is working at DAZN, a sports streaming platform as a backend developer, with a focus on AWS and serverless technology. Shing has worked for many world famous brands such as Mozilla and Intel. He is also active in the open source community. Being one of the founders of the Taiwan Rust community, he loves to share his enthusiasm for Rust with people.
Chapter 1, IntroductionThis chapter gives a short introduction to why Rust is a solid tool for building all kinds of application, and a brief overview of the format and organization of the book.●Introduction●Why Rust?●Who should read this book?●Chapters overviewChapter 2, Building a command-line programThis chapter will teach you how to build a command-line program with Rust.●What are we going to build? (We'll build a cowsay-like tool)●Building a binary program in Rust●Handling positional arguments●Handling optional arguments●Building a text-based user interface with ncurses●SummaryChapter 3, Creating graphical user interfaces (GUIs)This chapter will teach you how to build a cross-platform GUI program in Rust.●What are we going to build? (A desktop cat breed photo viewer)●Introduction to GTK+●Components of a GUI program●Creating a window●Handling user input●Supporting multiple operating system●SummaryChapter 4, Building a gameThis chapter will teach you how to build an 2D game with Rust●What are we going to build? (A 2D cat volleyball game)●Game frameworks in Rust●Building a 2D game in Rust●Rendering the map●Controlling the character with keyboard●Enemies incoming!●Adding sound effects●SummaryChapter 5, Going mobileThis chapter will demonstrate how to build an Android app using Rust●How to make Rust run on Android●What are we going to build? (A pokedex-like cat breed catalog)●Building the app skeleton●Showing pictures●Adding searchChapter 6, Programming embedded devicesThis chapter will demonstrate how to program an embedded device in Rust using a hardware development board. We'll also be using a QEUM emulator so readers can follow along without the hardware.●What are we going to build? (Either a STM32 development board or Arduino, still need more research)●How cross-compilation works?●Introducing the development board and QEUM●Setting up the toolchain for embedded programming●Communication using serial port●Programming the hardware timer●Debugging on an embedded device●SummaryChapter 7, Artificial intelligence and machine learningThis chapter will introduce machine learning libraries in Rust and show a simple image recognition demo●How does machine learning work●What are we going to build? (A cat image detector)●Mathematical background●Preparing the dataset●Training the model●Making predictionsChapter 8, Advanced topicsThis chapter will discuss other more advanced use of Rust. Each section will introduce one application, existing projects for that kind of application and their status. But we'll not go into the detail as the previous chapters.●Working with other languages●Operating system - Redox●The vast universe of Rust applications
Erscheinungsdatum | 13.03.2020 |
---|---|
Zusatzinfo | 42 Illustrations, color; 14 Illustrations, black and white; XIII, 257 p. 56 illus., 42 illus. in color. |
Verlagsort | Berkley |
Sprache | englisch |
Maße | 155 x 235 mm |
Gewicht | 454 g |
Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
Informatik ► Software Entwicklung ► Mobile- / App-Entwicklung | |
Informatik ► Software Entwicklung ► Spieleprogrammierung | |
Informatik ► Theorie / Studium ► Compilerbau | |
Schlagworte | Applications • Apps • Case Studies • Embedded • Game • Mobile • Practical • programming • Projects • Rust • source code |
ISBN-10 | 1-4842-5598-4 / 1484255984 |
ISBN-13 | 978-1-4842-5598-8 / 9781484255988 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich