Support kord-voice on Kotlin/JS and Windows
BartArys opened this issue · 12 comments
Since 0.9.0 Kotlin/JS is officially supported, see #775 and 0.9.0 for more information, for progress on Kotlin/Native check #855
kord-voice
- JVM
- JS
-
ktor-network for js(Workaround using nodejs dgram module by @viztea)
-
- Native
- mingw
- Darwin
- Linux
Kotlin/kotlinx.coroutines#462 got closed, so we actually have multithreaded coroutines on native now
Web socket support on native seems to exist (although I couldn't really test that yeet) however you cannot use TLS connections on native
WS support is there now as ktorio/ktor@e7c8c03 got merged
however there is no wss
support yet
Regarding the stable memory model for native, the new memory manager is now stable and used by default (https://kotlinlang.org/docs/native-memory-manager.html).
It's technically in Beta but so are Kotlin/Native and Kotlin Multiplatform: https://kotlinlang.org/docs/components-stability.html#current-stability-of-kotlin-components
Currently, a WIP MPP version of kord is on the feature/mpp
branch. Is supports almost all features (except voice) on both JVM and JS
Is it possible to add Kotlin/Wasm compatibility ?
Is it possible to add Kotlin/Wasm compatibility ?
We don't really see the point behind running Kord in the browser, since it only supports the bot api and not the OAuth API, so we don't have a checklist for WASM suppor
targetting wasmWasi might be a thing to do in the future though
and wasm can also be run in node iirc, so even adding wasmJs might be possible
Ktor 3.1.0 will have JS support for voice: https://youtrack.jetbrains.com/issue/KTOR-6004/Support-NodeJs-target-for-ktor-network
Maybe @lost-illusi0n, @viztea and @lukellmann can chime in for items required for DAVE