WebAssembly / WebAssembly/wasi-sdk

Stack growing support

Open
#369 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
CMake
Stars
1.6k
Forks
237
Avg merge
18h 26m
Merged PRs (30d)
5

Description

(perhaps this issue is better opened on the main LLVM repo)

Is it possible to support unbounded/growing stacks?

Some code makes heavy use of recursion, and having a fixed stack size is quite limiting. I had originally thought that the multiple memories proposal would help there, but that would introduce different types of pointers, which sounds like a terrible idea :-)

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by determining whether growing or unbounded stacks are supported by WebAssembly or require changes in LLVM, as the issue suggests this may belong in the main LLVM repository. Review the multiple memories proposal and its pointer implications before defining the affected toolchain components and a concrete, testable outcome.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.