Chapter 7. Introduction to Data Flow Computation and the RxCpp Library
From this chapter onward, we will get into the meat of the reactive programming model. You can consider the earlier chapters as a kind of prerequisite to understanding the reactive programming model, more specifically functional reactive programming. If we look back, we covered the necessary prerequisites, which includes the following:
- The event programming models on various GUI platforms
- A whirlwind tour of the Modern C++ language (including functional programming)
- Language-level concurrency for better concurrent systems
- Lock-free programming models (as a step toward declarative programming)
- Advanced design patterns and the concept of Observables
- Event Stream programming
All of these topics come together in a systematic manner in the case of functional reactive programming (FRP).
Simply put, reactive programming is nothing but programming with asynchronous data Streams. By applying various operations on Streams, we can achieve...