In my current understanding of Rust, every time we make a function call the following happens:
- we push a new frame
- this new frame contains the locals of the function being called + args + some aux data (like return address)
Now, I believe the stack has some builtin size. Thus, my questions:
- what are the builtin limits on wasm32
- can we change this ?
There's a feature that is much easier to write recursively rather than iteratively (manually using a Vec to fake a callstack in paritulcar). I want to know what the practical call stack limits are on wasm32.