Skip to content

Wasm

Web Assembly

  • This allows us to compile code into the browser:
    • It runs a virtual machine underneath the hood
    • It provides better performance and can be implemented with JavaScript
  • It’s basically a microprocessor in the browser
  • Web Assembly is stack-based (stack algorithms)
  • Web Assembly does not know what the string is 1

Web Assembly Module

  • It’s a binary file:

    • The wasm can interact with JavaScript
    • Yet it cannot talk directly with HTML
      • WebAssemblyBrowser_visual.png

    2

Frameworks

Docker + WASM


Compilers

Docs