Change History — WebAssembly 2.0 (Draft 2025-01-30) (original) (raw)

Since the original release 1.0 of the WebAssembly specification, a number of proposals for extensions have been integrated. The following sections provide an overview of what has changed.

Release 2.0

Sign extension instructions

Added new numeric instructions for performing sign extension within integer representations [1].

Non-trapping float-to-int conversions

Added new conversion instructions that avoid trapping when converting a floating-point number to an integer [2].

Multiple values

Generalized the result type of blocks and functions to allow for multiple values; in addition, introduced the ability to have block parameters [3].

Reference types

Added \(\href{../syntax/types.html#syntax-reftype}{\mathsf{funcref}}\) and \(\href{../syntax/types.html#syntax-reftype}{\mathsf{externref}}\) as new value types and respective instructions [4].

Table instructions

Added instructions to directly access and modify tables [4].

Multiple tables

Added the ability to use multiple tables per module [4].

Bulk memory and table instructions

Added instructions that modify ranges of memory or table entries [4] [5]

Vector instructions

Added vector type and instructions that manipulate multiple numeric values in parallel (also known as SIMD, single instruction multiple data) [6]