Hi,

We are compiling to wasm code from our Faust DSP compiler (so producing our 
own wasm modules).

In our wasm code, it is not clear yet how we could possibly define stack 
allocated arrays. Compiling a C++ code example, I see that Emscripten 
runtime code has some stack operations (like 
stackSave/stackAlloc/stackRestore...) and generates stack related code in 
the function header. So I understand that Emscripten runtime allocates a 
block of memory to be used for the stack yes?, but what to do in if we 
don't interact with the Emscripten runtime? Do we need to manage our own 
stack in a similar way as Emscripten runtime does? Or are they any simpler 
recommended way?

Thanks.

Stéphane Letz

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to