Hi,
I'm writing a little compiler that targets webassembly, but there are a few things I don't quite understand that someone can hopefully help me with:
* Is it true that wasm 'globals' are automatically 'thread local'? This seems to be the general consensus after a few google searches, but there's nothing in the w3 webassembly specs about it AFAICT.
* The emscripten 'ABI' for passing/returning composite types like structs seems to be to always 'pass by reference', ie: pass a single pointer to the param/result value, is this correct? Is this ABI documented anywhere?
* Is it OK to use emscripten's __stack_pointer in my compiler output? Anything I need to know about doing this beyond 'don't touch popped memory'?!?
Whew, that'll do for now!
Bye,
Mark