Index

Found 11 pages:

# Page Tags and summary
1 WebAssembly Landing, WebAssembly, wasm
WebAssembly is a new type of code that can be run in modern web browsers — it is a low-level assembly-like language with a compact binary format that runs with near-native performance and provides languages such as C/C++, C# and Rust with a compilation target so that they can run on the web. It is also designed to run alongside JavaScript, allowing both to work together.
2 Compiling a New C/C++ Module to WebAssembly C, C++, Compiling, Emscripten, WebAssembly, wasm
When you’ve written a new code module in a language like C/C++, you can compile it into WebAssembly using a tool like Emscripten. Let’s look at how it works.
3 Caching compiled WebAssembly modules Caching, IndexedDB, JavaScript, Module, WebAssembly, compile, wasm
Caching is useful for improving the performance of an app — we can store compiled WebAssembly modules on the client so they don't have to be downloaded and compiled every time. This article explains the best practices around this.
4 WebAssembly Concepts AssemblyScript, C, C++, Emscripten, JavaScript, WebAssembly, concepts, rust, text format, web platform
This article explains the concepts behind how WebAssembly works including its goals, the problems it solves, and how it runs inside the web browser's rendering engine.
5 Compiling an Existing C Module to WebAssembly C++, Compiling, Emscripten, WebAssembly, wasm
A core use-case for WebAssembly is to take the existing ecosystem of C libraries and allow developers to use them on the web.
6 Exported WebAssembly functions Guide, JavaScript, WebAssembly, export, exported functions, exported wasm functions, wasm
Exported WebAssembly functions are how WebAssembly functions are represented in JavaScript. This article describes what they are in a little more detail.
7 Loading and running WebAssembly code Fetch, JavaScript, WebAssembly, XMLHttpRequest, bytecode
To use WebAssembly in JavaScript, you first need to pull your module into memory before compilation/instantiation. This article provides a reference for the different mechanisms that can be used to fetch WebAssembly bytecode, as well as how to compile/instantiate then run it.
8 Compiling from Rust to WebAssembly Compiling, WebAssembly, rust, wasm
If you have some Rust code, you can compile it into WebAssembly (wasm). This tutorial takes you through all you need to know to compile a Rust project to wasm and use it in an existing web app.
9 Converting WebAssembly text format to wasm WebAssembly, assembly, conversion, text format, wabt, wasm, wast2wasm, wat2wasm
WebAssembly has an S-expression-based textual representation, an intermediate form designed to be exposed in text editors, browser developer tools, etc. This article explains a little bit about how it works, and how to use available tools to convert text format files to the .wasm assembly format.
10 Understanding WebAssembly text format Functions, JavaScript, S-expressions, WebAssembly, calls, memory, shared address, table, text format, was, wasm
To enable WebAssembly to be read and edited by humans, there is a textual representation of the wasm binary format. This is an intermediate form designed to be exposed in text editors, browser developer tools, etc. This article explains how that text format works, in terms of the raw syntax, and how it is related to the underlying bytecode it represents — and the wrapper objects representing wasm in JavaScript.
11 Using the WebAssembly JavaScript API API, DevTools, JavaScript, WebAssembly, compile, instantiate, memory, table
If you have already compiled a module from another language using tools like Emscripten, or loaded and run the code yourself, the next step is to learn more about using the other features of the WebAssembly JavaScript API. This article teaches you what you’ll need to know.