diff options
| author | Luke Wagner <mail@lukewagner.name> | 2015-09-01 15:22:11 -0500 |
|---|---|---|
| committer | Luke Wagner <mail@lukewagner.name> | 2015-09-01 15:22:11 -0500 |
| commit | 6bed798a02d7e86144c6a36a215071aa94d8fc9f (patch) | |
| tree | 5c7169473704e7351c49971c130eafdc76810445 /Modules.md | |
| parent | 19d2c4c8ea59a6fa08c96456234267dd746251ea (diff) | |
| download | nanowasm-design-6bed798a02d7e86144c6a36a215071aa94d8fc9f.tar.gz | |
Add more examples to instance list
Diffstat (limited to 'Modules.md')
| -rw-r--r-- | Modules.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -20,10 +20,13 @@ An instance contains: * the code of the module from which the instance was loaded; * a [linear memory](AstSemantics.md#linear-memory); * [global variable](AstSemantics.md#global-variables) state; -* fully resolved imports and exports; -* (when [threading](PostMVP.md#threads) is added) thread-local state; +* fully resolved imports; +* host-specific state (for example, the JS function objects that reflect + exported functions to JS); +* (when [threading](PostMVP.md#threads) is added) TLS variable state; * (when [dynamic linking](DynamicLinking.md) is added) the code of multiple modules that have been dynamically linked into the same instance; +* and other semantically-visible state added by other future features. While WebAssembly modules are designed to interoperate with ES6 modules in a Web environment (more details [below](Modules.md#integration-with-es6-modules)), |
