Stream: git-wasmtime

Topic: wasmtime / issue #9142 Add Tail Call Optimization


view this post on Zulip Wasmtime GitHub notifications bot (Aug 19 2024 at 19:30):

ValorZard opened issue #9142:

Feature

Add Tail Call Optimization

Benefit

I'm mostly interested in this so I could use Guile Hoot with wasmtime. Guile Hoot is an implementation of Scheme that compiles down to WebAssembly and requires the features WasmGC and Tail Call Optimization. The former is already being worked on, but I can't find anything relating to the latter.

Implementation

No idea! Look at how Firefox and Chrome implemented it I guess?

Alternatives

No idea, this is a core WASM feature I'm pretty sure.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 19 2024 at 19:34):

cfallin closed issue #9142:

Feature

Add Tail Call Optimization

Benefit

I'm mostly interested in this so I could use Guile Hoot with wasmtime. Guile Hoot is an implementation of Scheme that compiles down to WebAssembly and requires the features WasmGC and Tail Call Optimization. The former is already being worked on, but I can't find anything relating to the latter.

Implementation

No idea! Look at how Firefox and Chrome implemented it I guess?

Alternatives

No idea, this is a core WASM feature I'm pretty sure.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 19 2024 at 19:34):

cfallin commented on issue #9142:

Wasmtime actually supports the Wasm tail call instructions today! Let us know if you have any issues with them.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 19 2024 at 19:44):

cfallin commented on issue #9142:

And to cross-link this a bit: #1065 tracked tail-call implementation (completed last May); #6530 added the feature on the last platform (s390x) that came a bit after the rest.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 21 2024 at 21:43):

ValorZard commented on issue #9142:

Ah okay! I guess i didnt see it since i was specifically looking for "tail call optimization." Guess I just gotta wait for the GC!


Last updated: Dec 23 2024 at 12:05 UTC