WebAssembly in Action

0
(0)

WebAssembly in Action
 

  • Author:Gerard Gallant
  • Length: 448 pages
  • Edition: 1
  • Publisher: Manning Publications
  • Publication Date: 2019-11-26
  • ISBN-10: 1617295744
  • ISBN-13: 9781617295744
  • Sales Rank: #127520 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Summary

    WebAssembly in Action introduces the WebAssembly stack and walks you through the process of writing and running browser-based applications. Expert developer Gerard Gallant gives you a firm foundation of the structure of a module, HTML basics, JavaScript Promises, and the WebAssembly JavaScript API.

    Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

    About the Technology

    Write high-performance browser-based applications without relying only on JavaScript! By compiling to the WebAssembly binary format, your C, C++, or Rust code runs at near-native speed in the browser. WebAssembly delivers greater speed, opportunities to reuse existing code, and access to newer and faster libraries. Plus, you can easily interact with JavaScript when you need to.

    About the Book

    WebAssembly in Action teaches you how to write and run high-performance browser-based applications using C++ and other languages supported by WebAssembly. In it, you’ll learn to create native WebAssembly modules, interact with JavaScript components, and maximize performance with web workers and pthreads. And you’ll love how the clearly organized sections make it a breeze to find the important details about every function, feature, and technique.

    What’s inside

    • Dynamic linking of multiple modules at runtime
    • Communicating between modules and JavaScript
    • Debugging with WebAssembly Text Format
    • Threading with web workers and pthreads

    About the Reader

    Written for developers with a basic understanding of C/C++, JavaScript, and HTML.

    About the Author

    Gerard Gallant is a Microsoft Certified Professional and a Senior Software Developer at Dovico Software. He blogs regularly on Blogger.com and DZone.com.

    Table of Contents

    PART 1 – FIRST STEPS
    1. Meet WebAssembly
    2. A look inside WebAssembly modules
    3. Creating your first WebAssembly module

    PART 2 – WORKING WITH MODULES
    1. Reusing your existing C++ codebase
    2. Creating a WebAssembly module that calls into JavaScript
    3. Creating a WebAssembly module that talks to JavaScript using function pointers

    PART 3 – ADVANCED TOPICS
    1. Dynamic linking: The basics
    2. Dynamic linking: The implementation
    3. Threading: Web workers and pthreads
    4. WebAssembly modules in Node.js

    PART 4 – DEBUGGING AND TESTING
    1. WebAssembly text format
    2. Debugging
    3. Testing—and then what?

    中文:

    书名:运行中的WebAssembly

    摘要

    运行中的WebAssembly 介绍WebAssembly堆栈,并指导您完成编写和运行基于浏览器的应用程序的过程。专业开发人员Gerard Gallant为您奠定了模块结构、HTML基础知识、JavaScript承诺和WebAssembly JavaScript API的坚实基础。

    购买纸质书包括从Manning Publications购买PDF、Kindle和ePub格式的免费电子书。

    About the Technology

    编写高性能的基于浏览器的应用程序,而不是只依赖于JavaScript!通过编译为WebAssembly二进制格式,您的C、C++或Rust代码可以在浏览器中以接近本机的速度运行。WebAssembly提供了更快的速度、重用现有代码的机会以及对更新和更快的库的访问。此外,您还可以在需要时轻松地与JavaScript进行交互。

    关于这本书

    运行中的WebAssembly 教您如何使用C++和WebAssembly支持的其他语言编写和运行基于浏览器的高性能应用程序。在本课程中,您将学习如何创建原生WebAssembly模块、与JavaScript组件交互以及使用Web Worker和p线程实现性能最大化。你一定会喜欢那些组织清晰的部分,让你轻而易举地找到关于每个功能、特性和技术的重要细节。

    What’s inside

    • Dynamic linking of multiple modules at runtime
    • 模块与Java脚本之间的通信
    • 使用WebAssembly文本格式进行调试
    • 使用Web Worker和p线程进行线程处理

    About the Reader

    Written for developers with a basic understanding of C/C++, JavaScript, and HTML.

    About the Author

    Gerard Gallant 是微软认证专业人员和Dovico Software的高级软件开发人员。他经常在Blogger.com和DZone.com上写博客。

    Table of Contents

    第一部分第一步
    1. Meet WebAssembly
    2.深入了解WebAssembly模块
    3.创建您的第一个WebAssembly模块

    第2部分使用模块
    1.重用现有的C++代码库
    2. Creating a WebAssembly module that calls into JavaScript
    3. Creating a WebAssembly module that talks to JavaScript using function pointers

    第3部分高级主题
    1. Dynamic linking: The basics
    2.动态链接:实现
    3. Threading: Web workers and pthreads
    4.Node.js中的WebAssembly模块

    第4部分调试和测试
    1.WebAssembly文本格式
    2.调试
    3.测试–然后呢?

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册