Hi guys, anyone know a good library for Reactive p...
# announcements
f
Hi guys, anyone know a good library for Reactive programming in Kotlin? excluding RxJava and RxKotlin wrapper
l
MAybe using coroutines directly? I don't think you need RxJava given you have #C1CFAFJSK, but I'm not sure. Maybe this is just my usecase
1
👍 1
c
l
#C1CFAFJSK, with suspend functions, channels and upcoming cold streams
f
actually, in my Android projects, I use coroutines, and its fine for async operations. I need more power for create streams and use a more functional approach. I will take a look to cold streams
Reactor is an interesting library, which are the main differences from RxJava?
g
there is nothing to take a look at, lol) People are bringing their seats a bit too far. The described coroutine+channels+actors+cold streams combo will be ready and stable in one year maybe, with operators and stuff, to replace rx in full.
I even have a feeling that structured concurrency release was rushed a little, considering some open bugs and confusion about cancellation and error handling in #C1CFAFJSK
l
Cold streams are coming soon, I know they'll likely be called "flow" (learned it today). Channels already work and I happily use them.
f
yes I agree with this, but the expressivity to use normal feature language instead of a massive dependency it’s a really good advantage, IMHO
c
In fact language only provides suspend, the rest is a library, just from JetBrains instead of some other company. If I was writing a production app, I'd probably stick with mature solution like RxJava or ProjectReactor.
1
s
RxJava is an extra abstraction that could be built using an implementation that uses coroutines and suspend functions.
For simple network requests, plain ‘channel’ like work, using coroutines and channels are perfectly fine to use, I think. No need to introduce RxJava for that 🙂
g
Why do you need another alternative Rx library instead of RxJava?
💯 3
I want to be clear, there are maybe some additional requirements, like MPP support, which is not possible with RxJava