WebAssembly future

7330cbbb623c60949c5470b7eb97c3ca?s=47 fnwiya
September 18, 2018

WebAssembly future

7330cbbb623c60949c5470b7eb97c3ca?s=128

fnwiya

September 18, 2018
Tweet

Transcript

  1. WebAssemblyͷ ͜Ε·Ͱͱ͜Ε͔Β

  2. ࣗݾ঺հ • Kohno Fumiya ( @fnwiya ) • Japan Venture

    Research Co., LTD. • React Native & Ruby on Rails
  3. WebAssembly (abbreviated Wasm) is a binary instruction format for a

    stack-based virtual machine. Wasm is designed as a portable target for compilation of high-level languages like C/C++/Rust, enabling deployment on the web for client and server applications. https://webassembly.org/
  4. https://brendaneich.com/2015/06/from-asm-js-to-webassembly/

  5. Roadmap • ☑ MVP • ☑ Supported by major browser

    engines • Next Steps • Start work on post-MVP features
  6. Features to add after the MVP • Threads • GC

    • ECMAScript module integration • Host bindings • wasm-bindgen • …etc
  7. None
  8. High-Level Goals • Define a portable, size- and load-time-efficient binary

    format to serve as a compilation target which can be compiled to execute at native speed by taking advantage of common hardware capabilities available on a wide range of platforms, including mobile and IoT. • Design to support non-browser embeddings as well. • https://github.com/ewasm
  9. High-Level Goals Design to execute within and integrate well with

    the existing Web platform: • execute in the same semantic universe as JavaScript; allow synchronous calls to and from JavaScript • access browser functionality through the same Web APIs that are accessible to JavaScript
  10. ☓ WebAssmebly VS JavaScript ◦ WebAssmebly — JavaScript https://webassembly.org/docs/faq/#is-webassembly-trying-to-replace-javascript

  11. More integrated with JS Support more non-browser embeddings More community!