https://kotlinlang.org logo
#squarelibraries
Title
# squarelibraries
j

John O'Reilly

12/08/2023, 8:37 AM
Now that Kotlin/Wasm has reached alpha are there any plans for SQLDelight to support it in near future?
j

jw

12/08/2023, 12:35 PM
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

John O'Reilly

12/08/2023, 12:36 PM
Kotlinx Coroutines 1.8.0-RC supports it now fwiw
j

jw

12/08/2023, 12:39 PM
Yep, but we can't depend on a non stable version. So once it's released we can update.
h

hfhbd

12/08/2023, 1:55 PM
There is already a hacky workaround using a WASM SQLite driver with the worker api from (Kotlin) JS.
d

Derek Ellis

12/08/2023, 3:00 PM
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
5 Views