Abstract

This paper compares two popular multi-threading paradigms: reactive programming and continuation-passing style as today there are many software paradigms which could be replaced by each other, and programmers sometimes have dilemma which one to choose. . To conduct the comparison, the paper proposes a method for evaluating software paradigms in regards to Maintainability, Performance and Testability quality attributes, chosen due to their importance in modern software development. RxJava and Kotlin Coroutines serve as the specific implementations of the two paradigms, since both enjoy popularity in the industry and have proven themselves in real-world projects. As a result, the paper identifies that both frameworks have similar characteristics in regards to performance and testability, however Kotlin Coroutines demonstrates better maintainability. Moreover, the paper establishes a multi-dimensional evaluation method for comparing the frameworks, and identifies what factors should be taken into account when selecting a particular programming paradigm, also these findings could be used in software patterns comparison with some improvements and modifications.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.