Skip to content
This repository has been archived by the owner on Aug 26, 2020. It is now read-only.

what is something better should be coming really soon #1

Closed
amorenew opened this issue Sep 6, 2018 · 2 comments
Closed

what is something better should be coming really soon #1

amorenew opened this issue Sep 6, 2018 · 2 comments

Comments

@amorenew
Copy link

amorenew commented Sep 6, 2018

Hi
What do you mean by something better should be coming really soon?
Thanks

@kpgalligan
Copy link
Contributor

Hey! Sorry I missed this. In the case of the "threads" packages, they really only provide a wrapper for AtomicReference for native, and a ThreadLocal. The LiveData package provides a somewhat stripped down version of Google's LiveData.

The atomic stuff will be available in things like atomic.fu (I actually just published an implementation for native, so in that case, this is "something better". Thread local needs some thinking, to be honest. The implementation works, but it's not ideal.

For LiveData, multithreaded coroutines for native should be coming at some point, although the "couple weeks" estimate hasn't panned out. However, I'm sure it's coming during or after Kotlinconf, and I have it on good authority that Jetbrains is going to make a reactive library for Kotlin.

If there's interest, keeping LiveData as an active project might make sense. The google version isn't a particularly large codebase (which is why I wrote this instead of trying to write something like Rx).

@amorenew
Copy link
Author

Thanks a lot.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants