Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Stack Switching Ontology

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
wasm
Domain
compilers

Research direction

Start by reading the issue's proposed definitions and the surrounding stack-switching proposal context. Review whether the terms cover the concepts needed for the design process and identify any ambiguities or missing terminology. Done means the project has an agreed, useful terminology set rather than an implementation change.

Written by the indexing model from the issue text.

Description

It can be difficult to discuss different aspects of stack switching without some form of common terms for different aspects.

This note is an attempt to support the design process by defining some concepts. There is a strong possibilitycertainty that new terms not mentioned here will be needed; so this should be viewed as the start of a conversation.

These definitions are listed in alphabetical order, for lack of other organizing principles.

  • Delimiter Label
    A delimiter label is a term that denotes a prompt bracket. Delimiter labels may or may not be values.
  • Opt-in
    Opt-in refers to a systemic property where a given feature (in this case stack switching generally) is only available after some positive action on the part of a computation.
  • Prompt Bracket
    A prompt bracket marks the beginning of a suspend-able computation.
  • Reified Continuation
    A reified continuation is a value that denotes the remaining computation of a task after it has suspended.
  • Response Computation
    The computation that is launched as a result of suspending a task.
  • Resume Point
    A resume point marks where a suspended computation is resumed.
  • Safety
    Safety refers to a verifiable property of computations that certain events cannot occur. For example, in the case of a resume point, the primary safety requirements include that any data values transmitted meet declared types and that the computation being resumed was suspended.
  • Suspension Bracket
    A suspension bracket marks the point where a computation has suspended. Immediately after the suspension bracket is the computation that is responding to the suspension.
  • Task
    A complete suspendable computation, starting from when the task is initiated -- marked by a prompt bracket -- and ending when the computation terminates finally. A task may suspend and be resumed multiple times between the initial creation and the final termination.

Note that these terms should not be viewed as prejudicing any particular design approach.

Dominant language
WebAssembly
Stars
216
Forks
19
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from WebAssembly/stack-switching

All issues in WebAssembly/stack-switching

Similar issues

More Compilers issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.