Introduction
Building a Foundation
WebAssembly Fundamentals excerpt
Introducing WebAssembly
Understanding WebAssembly Architecture
Building a WebAssembly Application
Wrapping Up
Building WebAssembly Checkers
Playing Checkers, the Board Game
Coping with Data Structure Constraints
Implementing Game Rules
Moving Players
Testing Wasm Checkers
Wrapping Up
Interacting with JavaScript
Wading into WebAssembly with Rust
Introducing Rust
Installing Rust
Building Hello WebAssembly in Rust
Creating Rusty Checkers
Coding the Rusty Checkers WebAssembly Interface
Playing Rusty Checkers in JavaScript
Wrapping Up
Integrating WebAssembly with JavaScript
Creating a Better “Hello, World”
Building the Rogue WebAssembly Game
Experimenting Further
Wrapping Up
Advanced JavaScript Integration with Yew
Getting Started with Yew
Building a Live Chat Application
Wrapping Up
Working with Non-Web Hosts
Hosting Modules Outside the Browser
How to Be a Good Host
Interpreting WebAssembly Modules with Rust
Building a Console Host Checkers Player
Wrapping Up
Exploring the Internet of WebAssembly Things excerpt
Overview of the Generic Indicator Module
Creating Indicator Modules
Building Rust Applications for ARM Devices
Hosting Indicator Modules on a Raspberry Pi
Hardware Shopping List
Endless Possibilities
Wrapping Up
Building WARoS—-The WebAssembly Robot System
An Homage to Crobots
Designing the WARoS API
Building the WARoS Match Engine
Creating WebAssembly Robots
Robots in the Cloud
Wrapping Up
Conclusion
· · · · · · (
收起)
1 有用 ifyouseewendy 2019-04-06 01:08:00
窝在公司角落一个上午,完整扫了一遍。不是很喜欢作者花了太多时间讲解 Rust 示例,我是来看 WA 的,而且 Rust 官方已经有集成 WA 的文档。示例只是说明这么做可行,但是过于细节和工程。WA 的讲解比较浅显,各方面都有覆盖,作为入门是很好的。相对来说,Lin Clark 的 blog,A cartoon intro to WebAssembly,貌似更深入。
1 有用 Stayreal星空 2020-03-11 20:14:55
不像传统编程书从helloworld开始,这本书作者使用一个一个的案例(国际跳棋、智能小车)等来逐步让读者了解用Rust和WebAssembly进行编程,比较有趣味性,值得推荐。