Hi !
if Golang supports WASI (https://go.dev/blog/wasi)
and kotlin/wasm now also support WASI (https://github.com/Kotlin/kotlin-wasm-wasi-template)
Does that mean somehow we can ship sdks to Golang backends ?
Basically my use case is that I have some admin sdks that are exported into jvm + Nodejs backends,
And I would love to be able to use them in our Go micro-services !
• Any pointers on how that integration would look like ?
• Performance wise does that make sense too, or the bridging would have some overhead cost ?
PS: hope I'm not connecting imaginary dots here 😅
e
ephemient
10/29/2024, 8:29 AM
no, because so far different wasm binaries cannot be linked together
Go supports WASI preview 1, so only filesystem syscalls, no networking so you wouldn’t be able to make HTTP calls even using the current impl
👍 1
d
Daniele B
11/07/2024, 3:43 PM
so, will this be working when both Golang and Kotlin fully support WASI preview 2? and when can we expect this will happen?
e
ephemient
11/07/2024, 5:47 PM
both languages will also have to come up with ways to export and import foreign calls with WIT (part of which is required for WASI 0.2 but not necessarily in full generality)