Rust for the Iot: Building Internet of Things Apps with Rust and Raspberry Pi

Nusairat, Joseph Faisal

  • 出版商: Apress
  • 出版日期: 2020-09-15
  • 售價: $2,280
  • 貴賓價: 9.5$2,166
  • 語言: 英文
  • 頁數: 595
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484258592
  • ISBN-13: 9781484258590
  • 相關分類: Raspberry PiRust 語言物聯網 IoT
  • 立即出貨 (庫存=1)

商品描述

Get started programming Rust applications for the Internet of Things (IoT). This book is a programming skills migration book that teaches you the Rust programming techniques most useful for IoT applications. You'll step through from server to board development in creating a set of IoT applications.

In Rust for the IoT, you'll learn how to build a modern server-side application using Rust on the backend. Then you'll use docker and Kubernetes to deploy these to a managed cloud. Finally you will use a Raspberry Pi with a SenseHat and Camera to capture the world around you and send that information to the cloud.

 

While you will be able to follow along without any cloud or hardware, to make the most of it we recommend a few cloud pieces and hardware that is designed to integrate with the software in this book. After reading and using this book, you'll see how to apply Rust to the Internet of Things.

What You Will Learn

  • Create a modern Rust backend complete with handling eventual consistency and interacting via a GraphQL interface
  • Use the Raspberry PI to serve as a cheap IoT device that one can easily deploy around the house
  • Capture temperature, video, and use the interactive joystick to interact with the software you've created
  • Use OpenCV to perform facial detection from the PI's camera and save that information to the cloud.
  • Create deployable helm charts for the cloud, and for the device create complete ISOs that allow you to easily deploy the Pi's OS + custom software


Who This Book Is For
You will need to have a basic understanding of cloud application development at a minimum and the basics of Rust coding. This book is for those interested in or working with the IoT and the Raspberry Pi who want to learn how Rust can work for them.

商品描述(中文翻譯)

開始學習使用Rust編寫物聯網(IoT)應用程式。這本書是一本程式技能遷移書,教授你在IoT應用中最有用的Rust編程技巧。你將從伺服器開發到板子開發,創建一組IoT應用程式。

在《Rust for the IoT》中,你將學習如何使用Rust在後端構建現代化的伺服器應用程式。然後,你將使用Docker和Kubernetes將這些應用程式部署到托管的雲端。最後,你將使用搭載SenseHat和攝像頭的樹莓派捕捉周圍的世界並將該信息發送到雲端。

儘管你可以在沒有雲端或硬體的情況下跟隨學習,但為了充分利用,我們建議使用一些與本書中的軟體相集成的雲端組件和硬體。閱讀並使用本書後,你將了解如何將Rust應用於物聯網。

你將學到什麼:
- 創建一個現代化的Rust後端,包括處理最終一致性並通過GraphQL接口進行交互
- 使用樹莓派作為一個便宜的物聯網設備,在家中輕鬆部署
- 捕捉溫度、視頻,並使用互動搖桿與你創建的軟體進行交互
- 使用OpenCV從樹莓派攝像頭進行人臉檢測,並將該信息保存到雲端
- 為雲端創建可部署的Helm圖表,並為設備創建完整的ISO,以便輕鬆部署樹莓派的操作系統和自定義軟體

本書適合對雲端應用程式開發至少有基本了解和Rust編程基礎的讀者。對於對物聯網和樹莓派感興趣或正在從事相關工作的讀者,本書將教你如何運用Rust。

作者簡介

Joseph Faisal Nusairat is a a senior partner at Integrallis Software and is a software developer who has been working full-time in the Columbus, Ohio, area since 1998, primarily focused on Java and most recently Rust application development. His career has taken him into a variety of Fortune 500 industries, including military applications, data centers, banking, Internet security, pharmaceuticals, and insurance. Throughout this experience, he has worked on all varieties of application development from design to architecture to development. Joseph, like most Java developers, is particularly fond of open source projects and tries to use as much open source software as possible when working with clients. Joseph is a graduate of Ohio University with dual degrees in computer science and microbiology and a minor in chemistry. While at Ohio University, Joseph also dabbled in student politics and was a research assistant in the virology labs.

作者簡介(中文翻譯)

Joseph Faisal Nusairat 是 Integrallis Software 的高級合夥人,自1998年以來一直在俄亥俄州哥倫布地區全職從事軟體開發工作,主要專注於Java和最近的Rust應用開發。他的職業生涯涉足了各種財富500強行業,包括軍事應用、數據中心、銀行、互聯網安全、製藥和保險。在這段經驗中,他從設計到架構再到開發,參與了各種應用開發工作。像大多數Java開發人員一樣,Joseph特別喜歡開源項目,並在與客戶合作時盡可能使用開源軟體。Joseph畢業於俄亥俄大學,擁有計算機科學和微生物學雙學位以及化學副修。在俄亥俄大學期間,Joseph還涉足學生政治,並在病毒學實驗室擔任研究助理。