kord icon indicating copy to clipboard operation
kord copied to clipboard

Status on Kotlin/Native

Open BartArys opened this issue 5 years ago • 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

Dave

checklist by @viztea

  • [ ] Crypto
    • [ ] DHKEMP256_AES128GCM_SHA256_P256
    • [ ] AES128-GCM
    • [ ] scrypt
    • [ ] https://daveprotocol.com/#sender-key-derivation
    • [ ] https://daveprotocol.com/#displayable-codes
  • [ ] ULEB128

BartArys avatar Sep 21 '20 14:09 BartArys

https://github.com/Kotlin/kotlinx.coroutines/issues/462 got closed, so we actually have multithreaded coroutines on native now

DRSchlaubi avatar Jan 20 '22 00:01 DRSchlaubi

~~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 https://github.com/ktorio/ktor/commit/e7c8c037bcacff14b3199e781231789f3a1cc6d3 got merged

however there is no wss support yet

DRSchlaubi avatar Apr 18 '22 00:04 DRSchlaubi

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).

silenium-dev avatar Nov 19 '22 20:11 silenium-dev

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

lukellmann avatar Nov 19 '22 21:11 lukellmann

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

DRSchlaubi avatar Feb 26 '23 10:02 DRSchlaubi

Is it possible to add Kotlin/Wasm compatibility ?

Xinerfapre avatar Dec 15 '23 20:12 Xinerfapre

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

DRSchlaubi avatar Dec 15 '23 20:12 DRSchlaubi

targetting wasmWasi might be a thing to do in the future though

lukellmann avatar Dec 15 '23 21:12 lukellmann

and wasm can also be run in node iirc, so even adding wasmJs might be possible

lukellmann avatar Dec 15 '23 21:12 lukellmann

https://github.com/ktorio/ktor/pull/3950

DRSchlaubi avatar Jan 23 '24 16:01 DRSchlaubi