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 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 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 |
Beta Was this translation helpful? Give feedback.
-
I suppose webview is already a wams runtime, why need another runtime as Wazero? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Will the Wazero plugin option be available in v3? |
Beta Was this translation helpful? Give feedback.
I'm saying No guarantees! Best to just try.