extism / go-sdk

Extism Go SDK - easily run WebAssembly modules in your Go applications
https://pkg.go.dev/github.com/extism/go-sdk
BSD 3-Clause "New" or "Revised" License
85 stars 10 forks source link

Consider updating wazero to use new optimizing backend #50

Closed nilslice closed 5 months ago

nilslice commented 10 months ago

Recently Wazero released a new compiler that may make sense for Extism to use as a default, but it requires us to make some minor changes to the way we configure Wazero via our SDK.

https://github.com/tetratelabs/wazero/releases/tag/v1.6.0

It seems to still be experimental and targets arm64 exclusively for the time being, which may be reason to leave it out until later.

If we do change this to be the default, then we also may want to consider adding a configuration to use the other compiler instead.

Curious to know others thoughts here!

bhelx commented 5 months ago

I think this is covered by this PR: https://github.com/extism/go-sdk/pull/64