Programming WebAssembly with Rust (使用 Rust 編寫 WebAssembly)
Kevin Hoffman
- 出版商: Pragmatic Bookshelf
- 出版日期: 2019-04-30
- 售價: $1,600
- 貴賓價: 9.5 折 $1,520
- 語言: 英文
- 頁數: 240
- 裝訂: Paperback
- ISBN: 1680506366
- ISBN-13: 9781680506365
-
相關分類:
Rust 語言、WebAssembly
立即出貨 (庫存 < 4)
買這商品的人也買了...
-
$1,520$1,444 -
$1,650$1,568 -
$2,280Working Effectively with Legacy Code (Paperback)
-
$1,330$1,264 -
$4,090$3,886 -
$1,010$960 -
$1,010$960 -
$1,100$1,045 -
$640$608 -
$1,010$960 -
$1,250$1,188 -
$2,128$2,016 -
$1,750$1,663 -
$454深入淺出 Rust
-
$653深入淺出 WebAssembly
-
$250WebAssembly 標準入門
-
$653Rust 編程之道
-
$1,501The Object-Oriented Thought Process, 5/e (Paperback)
-
$880$748 -
$2,520Fundamentals of Software Architecture: A Comprehensive Guide to Patterns, Characteristics, and Best Practices (Paperback)
-
$800$760 -
$940$893 -
$780The Rust Programming Language (Covers Rust 2018) Illustrated Edition
-
$600$510 -
$880$695
相關主題
商品描述
WebAssembly fulfills the long-awaited promise of web technologies: fast code, type-safe at compile time, execution in the browser, on embedded devices, or anywhere else. Rust delivers the power of C in a language that strictly enforces type safety. Combine both languages and you can write for the web like never before! Learn how to integrate with JavaScript, run code on platforms other than the browser, and take a step into IoT. Discover the easy way to build cross-platform applications without sacrificing power, and change the way you write code for the web.
WebAssembly is more than just a revolutionary new technology. It's reshaping how we build applications for the web and beyond. Where technologies like ActiveX and Flash have failed, you can now write code in whatever language you prefer and compile to WebAssembly for fast, type-safe code that runs in the browser, on mobile devices, embedded devices, and more. Combining WebAssembly's portable, high-performance modules with Rust's safety and power is a perfect development combination.
Learn how WebAssembly's stack machine architecture works, install low-level wasm tools, and discover the dark art of writing raw wast code. Build on that foundation and learn how to compile WebAssembly modules from Rust by implementing the logic for a checkers game. Create wasm modules in Rust to interoperate with JavaScript in many compelling ways. Apply your new skills to the world of non-web hosts, and create everything from an app running on a Raspberry Pi that controls a lighting system, to a fully-functioning online multiplayer game engine where developers upload their own arena-bound WebAssembly combat modules.
Get started with WebAssembly today, and change the way you think about the web.
What You Need:
You'll need a Linux, Mac, or Windows workstation with an Internet connection. You'll need an up-to-date web browser that supports WebAssembly. To work with the sample code, you can use your favorite text editor or IDE. The book will guide you through installing the Rust and WebAssembly tools needed for each chapter.
商品描述(中文翻譯)
WebAssembly實現了網頁技術長期以來的期望:快速的程式碼、編譯時的型別安全、在瀏覽器、嵌入式設備或其他任何地方執行。Rust以強制執行型別安全的語言提供了C的強大功能。結合這兩種語言,您可以以前所未有的方式為網頁撰寫程式!學習如何與JavaScript整合,運行除瀏覽器以外的平台上的程式碼,並踏入物聯網的領域。發現在不牺牲效能的情況下建立跨平台應用程式的簡單方法,並改變您為網頁撰寫程式的方式。
WebAssembly不僅僅是一項革命性的新技術,它正在重新塑造我們為網頁和其他領域建立應用程式的方式。在ActiveX和Flash等技術失敗的地方,您現在可以使用您喜歡的任何語言編寫程式碼,並編譯為WebAssembly,以獲得在瀏覽器、移動設備、嵌入式設備等上運行的快速、型別安全的程式碼。結合WebAssembly的可攜式高性能模組和Rust的安全性和強大功能,是一個完美的開發組合。
學習WebAssembly的堆疊機器架構如何運作,安裝低階wasm工具,並探索撰寫原始wast程式碼的技巧。在此基礎上,學習如何通過實現跳棋遊戲的邏輯,從Rust編譯WebAssembly模組。使用Rust在多種引人入勝的方式中與JavaScript互操作,創建wasm模組。將您的新技能應用於非網頁主機的世界,從在Raspberry Pi上運行控制照明系統的應用程式,到完全功能的線上多人遊戲引擎,開發人員可以上傳自己的綁定到競技場的WebAssembly戰鬥模組。
立即開始使用WebAssembly,改變您對網頁的看法。
您需要準備一台具有Linux、Mac或Windows作業系統的工作站,並連接到互聯網。您需要一個支援WebAssembly的最新網頁瀏覽器。要使用示例程式碼,您可以使用您喜歡的文本編輯器或集成開發環境。本書將指導您安裝每個章節所需的Rust和WebAssembly工具。