yeah <@U0BUH9FRD> I was asking Coroutine-commander...
# coroutines
g
yeah @sdeleuze I was asking Coroutine-commander-in-cheif Elizarov to convert Mike hern's early kotlin + RX demo video to coroutines, but he basically said that they address two different things. I'm not a pro reactive programmer, but IMHO i've got a rather unsatisfying answer: 1. the
reactive.Subscription
type is much easier to manage WRT which thread your on than
coroutines.Job
. 2. some of the parallel operators on subscriptions are just stupid, which is where coroutines likely come in. I think your going to find that any kind of complex analysis on some data structures with RX is going to turn into a collage of functional operators, which many programmers, myself included, would probably better understand if it were written more imperitively with coroutines, but that really depends on the nature of the workload