JS String Builtins repackage existing String-related functionality known from JavaScript in a way that provides access to fast String operations from Wasm. This is typically a critical requirement for GC-enabled Wasm applications (compiled from e.g. Java, Kotlin, Dart, or similar languages) in order to achieve competitive performance; in particular because it unlocks fast access to other features such as the RegExp engine, JSON encoding/decoding, and String-based DOM APIs.
Description
JS String Builtins repackage existing String-related functionality known from JavaScript in a way that provides access to fast String operations from Wasm. This is typically a critical requirement for GC-enabled Wasm applications (compiled from e.g. Java, Kotlin, Dart, or similar languages) in order to achieve competitive performance; in particular because it unlocks fast access to other features such as the RegExp engine, JSON encoding/decoding, and String-based DOM APIs.
Specification
WebAssembly phase 4 - https://github.com/WebAssembly/js-string-builtins/blob/main/proposals/js-string-builtins/Overview.md
Additional Signals
Standards Positions
Tests