Wild thought, can I use a c++ library or code from...
# webassembly
c
Wild thought, can I use a c++ library or code from Kotlin/Wasm, is that even possible? If yes, how can I go about it??
a
c
Will check this out! Thanks
f
@Cherrio LLC is this not only for C?
a
The full setup is only for C, but the idea of how to link Kotlin/Wasm with a third-party binary is universal. So, you can use it for linking any language which could be compiled to Wasm. The only thing you need to customize in the example is the task which produces a Wasm-binary from sources (the task which is using clang)
f
I'm thinking you can possibly encounter issues where the C++ output would not be stable as C++ generally does not have stable ABI, at least when compiling to native code
n
Could something similar also be applied to Kotlin Native programs/libraries (just a crazy idea)? Or is there something in the works that is specific to Kotlin Native, but we don't know about it yet. I suspect the answer is no.