On Mon, Nov 4, 2019, 1:50 PM 'Thomas Lively' via emscripten-discuss <
[email protected]> wrote:

> If you really want to avoid the native call stack from being exhausted by
> in-wasm recursion, another interesting avenue to pursue besides a bytecode
> interpreter would be a continuation passing style code transformation to
> use only `return_call` instructions from the tail call proposal, which
> don't add new native stack frames.
>

Do you know if the tail call proposal is implemented in any engines yet?
That would be very useful for emulators doing dynamic recompilation as well.

-- brion

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAFnWYTnHkHaxOS1YHLiao7uws4vi1r-2-HUX-FkyL%2BFaAKMXXg%40mail.gmail.com.

Reply via email to