Hey! I'm currently working on a new DSL for MongoD...
# webassembly
c
Hey! I'm currently working on a new DSL for MongoDB in Kotlin. A few interesting things have happened, and it looks like I may be able to provide a functioning MongoDB driver in WASM in the next 6months–1year. Obviously as Kotlin WASM becomes more popular this will be interesting for the Kotlin server-side ecosystem, but it also seems like there isn't really a WASM-ready MongoDB driver at all, and WASM is supposedly polyglot, so maybe I could 'make available' the driver to other languages? I don't really know exactly what that entails and how it would work, though. Is there a documentation page that explains how Kotlin code can be exported to other languages through WASM, and what the constraints are? Similar to the 'Kotlin to JS interop' page.
e
b
There is no dedicated documentation about it, you can track KT-76410. For low level interop, you can play with
WasmImport
&
WasmExport
(ref). Component model, for sure, should become a more convenient option.
👀 1