Now that Kotlin/Wasm has reached alpha are there a...
# squarelibraries
j
Now that Kotlin/Wasm has reached alpha are there any plans for SQLDelight to support it in near future?
👀 1
j
Alpha plays no part. Once our dependencies offer it then so will we. As of now we're waiting on coroutines only, I believe.
👍 1
j
Kotlinx Coroutines 1.8.0-RC supports it now fwiw
j
Yep, but we can't depend on a non stable version. So once it's released we can update.
h
There is already a hacky workaround using a WASM SQLite driver with the worker api from (Kotlin) JS.
d
Yeah once the runtime is sorted out, there's still the matter of writing a driver that targets Wasm 😅 There are some promising options to explore, but I don't think either Kotlin/Wasm or most Wasm runtimes are at a point where any of them are practical yet
s
Hi i just wanted to check on this as we were waiting for coroutines for Kotlin/Wasm support that now already have Kotlin/Wasm support in 1.8.0 if i m not wrong, So is Kotlin/Wasm support in progress for SQLDelight, is there any alpha or experimental version released or may release soon?
d
There is an open PR to add Wasm support for the web worker driver, but it hasn't been reviewed yet. For other Wasm drivers that run SQLite directly in Wasm, we're primarily waiting on Kotlin's support for the component model
e
Is there any specific holdup in getting the PR reviewed other than someone needing the free time to do it?