wapc / wapc-go

Golang-based WebAssembly Host Runtime for waPC-compliant modules
Apache License 2.0
91 stars 25 forks source link

Add support for multiple Wasm engines and wazero as the next implementation #14

Closed pkedy closed 2 years ago

pkedy commented 2 years ago

Also adds support for TinyGo 0.22.0

/cc @madflojo

madflojo commented 2 years ago

👍 on adding multiple Engines, I like the option to be able to select. Looks like we are breaking the contract a bit though?

wapc.New() > wapc.Engines()

Might need to call it out in release notes when generating.

codefromthecrypt commented 2 years ago

I will raise a PR against this branch for drift in wazero. We had a tentative API and the upcoming PR stabilizes!

codefromthecrypt commented 2 years ago

https://github.com/wapc/wapc-go/pull/15 ready for ya

pkedy commented 2 years ago

Thank you so much @codefromthecrypt !

codefromthecrypt commented 2 years ago

thanks tons! I'll update this again shortly as we're nearly done clean resource management of WASI files.