Skip to content

Commit

Permalink
Update Explainer.md (Wasm-DSL#73)
Browse files Browse the repository at this point in the history
As a matter of style and longevity, I believe it is better to craft the explainer as though the feature already exists.
  • Loading branch information
fgmccabe authored Aug 13, 2024
1 parent 08e362c commit 5fe4330
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions proposals/stack-switching/Explainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,7 @@ programming languages non-local control flow is central to their
identity, meaning that they rely on non-local control flow for
efficiency, e.g. to support massively scalable concurrency.

Currently, Wasm lacks support for implementing such features directly
and efficiently without a circuitous global transformation of source
programs on the producer side. One possible strategy is to add special
support for each individual non-local control flow feature to Wasm,
but strategy does not scale to the next 700 non-local control flow
features. Instead, the goal of this proposal is to introduce a unifed
structured mechanism that is sufficiently general to cover present
use-cases as well as being forwards compatible with future use-cases,
while admitting efficient implementations.
Rather than build specific control flow mechanisms for all possible varieties of non-local control flow, our strategy is to build a single mechanism that can be used by language providers to construct their own language specific features.

A key technical design challenge is to ensure that the stack switching
facility integrates smoothly with existing Wasm language
Expand Down

0 comments on commit 5fe4330

Please sign in to comment.