https://kotlinlang.org logo
Title
s

StavFX

05/12/2023, 8:29 PM
Reaktive sounds like a huge undertaking (re-impl rx from scratch). Did you do any performance comparisons with the "tried and tested" solutions like rxjava2?
a

Arkadii Ivanov

05/12/2023, 8:32 PM
Sure I did some benchmarks! https://github.com/badoo/Reaktive/tree/master/benchmarks/jmh They are a bit outdated, e.g. coroutines should do better nowadays. But RxJava shouldn't have changed much since then. The upcoming Reaktive v2 should also have better performance.
s

StavFX

05/12/2023, 8:35 PM
oh wow that's impressive! also I'm surprised at how bad Flow performed
Is Reaktive v2 a breaking change?
a

Arkadii Ivanov

05/12/2023, 8:37 PM
Well, those benchmarks are two years old, Flow might perform even better now. But there are still some cases where it might be much slower.
There will be some breaking changes. You can check here https://github.com/badoo/Reaktive/issues/620
s

StavFX

05/12/2023, 8:38 PM
That's what I was looking for, thanks! 🙂