Stream: git-wasmtime

Topic: wasmtime / issue #8087 winch: Component Model Support


view this post on Zulip Wasmtime GitHub notifications bot (Mar 12 2024 at 13:09):

saulecabrera assigned elliottt to issue #8087.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 12 2024 at 13:09):

saulecabrera opened issue #8087:

In order for Winch to reach feature parity with Cranelift, we want to ensure that it can compile WebAssembly Components.

One approach is to implement the component trampolines from scratch, however, this will likely be a considerable amount of work and a lot of very similar work will be duplicated across both compilers. An alternative is to using Cranelift to compile all the trampolines, including the component ones. This approach will require making Winch match Cranelift's ABI. At that time of writing, this mostly involves adding callee-saved registers to Winch's ABI.

Switching to using Cranelift's trampolines has the added benefit that Winch will receive support for all trampolines types for "free".

view this post on Zulip Wasmtime GitHub notifications bot (Mar 12 2024 at 13:09):

saulecabrera added the winch label to Issue #8087.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 14 2024 at 00:06):

elliottt closed issue #8087:

In order for Winch to reach feature parity with Cranelift, we want to ensure that it can compile WebAssembly Components.

One approach is to implement the component trampolines from scratch, however, this will likely be a considerable amount of work and a lot of very similar work will be duplicated across both compilers. An alternative is to using Cranelift to compile all the trampolines, including the component ones. This approach will require making Winch match Cranelift's ABI. At that time of writing, this mostly involves adding callee-saved registers to Winch's ABI.

Switching to using Cranelift's trampolines has the added benefit that Winch will receive support for all trampolines types for "free".

view this post on Zulip Wasmtime GitHub notifications bot (Mar 14 2024 at 00:06):

elliottt commented on issue #8087:

Fixed in #8082


Last updated: Nov 22 2024 at 17:03 UTC