Does wails support wasm #2707
Is your feature request related to a problem? Please describe.May be it’s a very simple question, but I can’t find a sample app. I am using wails build in-house tool, and I want to include a third party library which is a wasm. I want to know does wails support wasm and how to use it? Describe the solution you'd likeCall wasm from wails Describe alternatives you've consideredNo response Additional contextNo response |
Replies: 4 comments 8 replies
|
There is a Go library called Wazero that will interest you. You could bind a method and pass through the call to wazero, meaning you could call it from the frontend. I'm looking to build this into v3 as a plugin option |
|
I suppose webview is already a wams runtime, why need another runtime as Wazero? |
|
To be more speicific, right now I am going to build vim editor base on wails & vim.wams or vim.wams.react. This libray works well on desktop browser. |
|
Will the Wazero plugin option be available in v3? |
I'm saying No guarantees! Best to just try.