Tag

Text Format

1 views collected around this technical thread.

ByteDance Web Infra
ByteDance Web Infra
Apr 4, 2023 · Fundamentals

Fundamentals of WebAssembly: Modules, Binary and Text Formats

This article provides a comprehensive introduction to WebAssembly, covering its core concepts such as modules, types, variables, functions, instructions, traps, tables, linear memory, the binary module structure, the S‑expression based text format, and step‑by‑step guidance for writing a simple WebAssembly module with code examples.

Binary FormatModulesProgramming
0 likes · 24 min read
Fundamentals of WebAssembly: Modules, Binary and Text Formats
ByteFE
ByteFE
Apr 3, 2023 · Frontend Development

Understanding WebAssembly: Modules, Binary and Text Formats, and a Hands‑On Example

This article provides a comprehensive overview of WebAssembly, covering its core concepts such as modules, types, variables, functions, instructions, traps, tables, and linear memory, explains the binary module structure and sections, details the human‑readable text format with S‑expressions and lexical rules, and walks through a step‑by‑step example of writing, compiling, and invoking a simple WebAssembly module.

Binary FormatModulesText Format
0 likes · 27 min read
Understanding WebAssembly: Modules, Binary and Text Formats, and a Hands‑On Example