Skip to content

Commit d740f99

Browse files
committed
Add note about non-dependence on stack-switching
1 parent a9c2671 commit d740f99

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

design/mvp/Async.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,13 @@ built-in **asynchronous** support, these pain points can be addressed.
3737
The Component Model's [goals] and intended [use cases] suggest the following
3838
additional goals and requirements for native async support:
3939

40-
* Be independent-of but complementary-to the mechanisms for multi-threading;
41-
components should be able to achieve a high degree of concurrency using one
42-
or multiple threads.
40+
* Be independent-of but complementary-to the Core WebAssembly [stack-switching]
41+
proposal; don't depend on this proposal being fully standard or implemented
42+
(just like [JSPI]).
43+
* Be independent-of but complementary-to the Core WebAssembly
44+
[shared-everything-threads] proposal; don't depend on this proposal being
45+
fully standard or implemented and ensure that components can achieve a high
46+
degree of concurrency using only one.
4347
* Avoid partitioning interfaces and components into separate strata; don't give
4448
functions (or components) a [color].
4549
* Enable tight integration (e.g., automatic bindings generation) with a wide
@@ -474,4 +478,6 @@ features will be added in future chunks to complete "async" in Preview 3:
474478
[Goals]: ../high-level/Goals.md
475479
[Use Cases]: ../high-level/UseCases.md
476480

481+
[stack-switching]: https://github.com/WebAssembly/stack-switching/
482+
[JSPI]: https://github.com/WebAssembly/js-promise-integration/
477483
[shared-everything-threads]: https://github.com/webAssembly/shared-everything-threads

0 commit comments

Comments
 (0)