WebAssembly.instantiate
E127480
WebAssembly.instantiate is a JavaScript API function that compiles and instantiates WebAssembly modules, returning ready-to-use module instances and their exported functions.
All labels observed (4)
| Label | Occurrences |
|---|---|
| WebAssembly.instantiate canonical | 5 |
| WebAssembly modules | 1 |
| WebAssembly.InstantiateResult | 1 |
| WebAssembly.instantiate with ArrayBuffer-based workflows | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T1103209 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: WebAssembly.instantiate Context triple: [WebAssembly JavaScript Interface, definesFunction, WebAssembly.instantiate]
-
A.
WebAssembly.instantiateStreaming
WebAssembly.instantiateStreaming is a JavaScript API function that compiles and instantiates a WebAssembly module directly from a streamed source, such as a fetch response, for efficient loading and execution in the browser.
-
B.
WebAssembly JavaScript Interface
The WebAssembly JavaScript Interface is the standard API that defines how JavaScript code interacts with and controls WebAssembly modules within web browsers and other host environments.
-
C.
WebAssembly System Interface
The WebAssembly System Interface (WASI) is a modular, portable set of system APIs that allows WebAssembly programs to interact safely and consistently with operating system features like files, networking, and clocks across different platforms.
-
D.
WebAssembly.LinkError
WebAssembly.LinkError is a JavaScript error type representing failures that occur when linking a WebAssembly module to its imports or environment.
-
E.
WebAssembly specification
The WebAssembly specification is a standardized, low-level binary instruction format designed to enable high-performance, portable code execution on the web and other platforms.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: WebAssembly.instantiate Target entity description: WebAssembly.instantiate is a JavaScript API function that compiles and instantiates WebAssembly modules, returning ready-to-use module instances and their exported functions.
-
A.
WebAssembly.instantiateStreaming
WebAssembly.instantiateStreaming is a JavaScript API function that compiles and instantiates a WebAssembly module directly from a streamed source, such as a fetch response, for efficient loading and execution in the browser.
-
B.
WebAssembly JavaScript Interface
The WebAssembly JavaScript Interface is the standard API that defines how JavaScript code interacts with and controls WebAssembly modules within web browsers and other host environments.
-
C.
WebAssembly System Interface
The WebAssembly System Interface (WASI) is a modular, portable set of system APIs that allows WebAssembly programs to interact safely and consistently with operating system features like files, networking, and clocks across different platforms.
-
D.
WebAssembly.LinkError
WebAssembly.LinkError is a JavaScript error type representing failures that occur when linking a WebAssembly module to its imports or environment.
-
E.
WebAssembly specification
The WebAssembly specification is a standardized, low-level binary instruction format designed to enable high-performance, portable code execution on the web and other platforms.
- F. None of above. chosen
Statements (48)
| Predicate | Object |
|---|---|
| instanceOf |
JavaScriptFunction
ⓘ
WebAssemblyAPI ⓘ |
| acceptsType |
ArrayBuffer
ⓘ
ArrayBufferView ⓘ WebAssembly.Module ⓘ |
| asynchronous | true ⓘ |
| availableIn |
Node.js
ⓘ
WebBrowser ⓘ |
| canBeUsedFor |
accessing WebAssembly exports from JavaScript
ⓘ
compiling WebAssembly binaries at runtime ⓘ loading WebAssembly modules dynamically ⓘ |
| compilesModule | true ⓘ |
| definedIn |
WebAssembly specification
ⓘ
surface form:
WebAssembly
|
| errorCondition |
invalid WebAssembly binary format
ⓘ
linking failure ⓘ runtime initialization failure ⓘ |
| hasOverload |
WebAssembly.instantiate(bufferSource, importObject)
ⓘ
WebAssembly.instantiate(moduleObject, importObject) ⓘ |
| instantiatesModule | true ⓘ |
| introducedIn |
WebAssembly specification
ⓘ
surface form:
WebAssembly MVP
|
| isPreferredOver | WebAssembly.instantiateStreaming when streaming is not available ⓘ |
| parameter |
bufferSource
ⓘ
importObject ⓘ moduleObject ⓘ |
| partOf |
WebAssembly JavaScript Interface
ⓘ
surface form:
WebAssembly JavaScript API
|
| relatedFunction |
WebAssembly.Module
ⓘ
WebAssembly.compile ⓘ WebAssembly.instantiateStreaming ⓘ |
| returnProperty |
instance
ⓘ
module ⓘ |
| returns |
Promise
ⓘ
Promise<InstantiateResult> ⓘ Promise<WebAssembly.Instance> ⓘ |
| returnTypeForBufferOverload |
WebAssembly.instantiate
self-linksurface differs
ⓘ
surface form:
WebAssembly.InstantiateResult
|
| returnTypeForModuleOverload | WebAssembly.Instance ⓘ |
| securityContext | subject to same-origin policy for fetched binaries ⓘ |
| specifiedIn |
WebAssembly JavaScript Interface
ⓘ
surface form:
WebAssembly JavaScript Interface Specification
|
| standardizedBy | ECMAScript ⓘ |
| supportsFeature |
imported functions
ⓘ
imported globals ⓘ imported memories ⓘ imported tables ⓘ |
| supportsStreamingCompilation | false ⓘ |
| throws |
WebAssembly.CompileError
ⓘ
WebAssembly.LinkError ⓘ WebAssembly.RuntimeError ⓘ |
| typicalUsage | WebAssembly.instantiate(bytes, imports).then(callback) ⓘ |
| usesCompilationPipeline | WebAssembly.compile ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: WebAssembly.instantiate Description of subject: WebAssembly.instantiate is a JavaScript API function that compiles and instantiates WebAssembly modules, returning ready-to-use module instances and their exported functions.
Referenced by (8)
Full triples — surface form annotated when it differs from this entity's canonical label.