stack-switching

A repository for the stack switching proposal. (by WebAssembly)

Stack-switching Alternatives

Similar projects and alternatives to stack-switching

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better stack-switching alternative or higher similarity.

stack-switching reviews and mentions

Posts with mentions or reviews of stack-switching. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-24.
  • WasmFX: Effect Handlers for WebAssembly
    1 project | news.ycombinator.com | 7 Nov 2023
    I first heard of algebraic effects in a presentation about Unison recorded at Strangeloop. Realizing that exceptions, async, generators, and continuations could all be unified and implemented on top of one language feature was mind expanding.

    It looks like the juicy details are in the Explainer:

    https://github.com/WebAssembly/stack-switching/blob/main/pro...

  • Fiber in C++: Understanding the Basics
    8 projects | news.ycombinator.com | 24 Sep 2023
    "Fibers", "green threads", "stack switching", "cooperative multitasking" are essentially all the same thing, they all rely on being able to switch to a different stack within the same OS thread. As such they can be implemented either in user space or by the OS.

    Only downside of the technique is that it cannot be implemented in WASM, because WASM has separate data- and call-stacks and the call stack is not accessible from within the WASM virtual machine (while 'async-await' which relies on code transformation can be implemeneted in WASM just fine).

    There is a 'stack-switching proposal' for WASM though, but I don't know how what's the state of that:

    https://github.com/WebAssembly/stack-switching

Stats

Basic stack-switching repo stats
2
102
10.0
about 1 year ago

WebAssembly/stack-switching is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

The primary programming language of stack-switching is WebAssembly.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com