You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-11Lines changed: 13 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,16 @@
1
1
## Introduction
2
2
3
-
Cpp.React is an experimental [Reactive Programming](http://en.wikipedia.org/wiki/Reactive_programming) framework for C++11.
4
-
It provides abstractions to simplify the implementation of reactive behaviour.
5
-
This is accomplished by enabling the declarative expression of dataflows and handling the propagation of changes automatically.
6
-
Implicit parallelism for this process is supported as well.
3
+
Cpp.React is an experimental [Reactive Programming](http://en.wikipedia.org/wiki/Reactive_programming) framework for C++11. Its purpose is to provide abstractions that simplify the implementation of reactive behaviour.
7
4
8
-
#### Building
5
+
The general idea is that dependency relations between data/actions are expressed declarively, while the actual propagation of changes is handled automatically. The benefits:
6
+
* Reduction of boilerplate code.
7
+
* Updating is always consistent and glitch-free.
8
+
* Support for implicit parallelization of updates.
9
9
10
-
So far, I've only tested building the framework on Windows, with:
11
-
* Visual Studio 2013
12
-
* Intel C++ Compiler 14.0 in Visual Studio 2012/13
10
+
#### Compiling
11
+
12
+
I mainly tested the build on Windows with Visual Studio 2013.
13
+
The Intel C++ Compiler 14.0 with Visual Studio 2012/13 is theoretically supported as well, but it doesn't compile the current codebase anymore due to [some bugs]() with C++11 support.
13
14
14
15
Cpp.React uses standard C++11 and the dependencies are portable, so other compilers/platforms should work, too.
15
16
@@ -18,13 +19,12 @@ Cpp.React uses standard C++11 and the dependencies are portable, so other compil
18
19
*[Google test framework](https://code.google.com/p/googletest/) (optional, to compile the tests)
19
20
*[Boost C++ Libraries](http://www.boost.org/) (optional, to use ReactiveLoop, which requires boost::coroutine)
20
21
21
-
## Feature overview
22
+
## Features by example
22
23
23
24
#### Signals
24
25
25
26
Signals are time-varying reactive values, that can be combined to create reactive expressions.
26
27
These expressions are automatically recalculated whenever one of their dependent values changes.
For more information, see the [Signal guide](SignalGuide)
47
+
46
48
#### Event streams
47
49
48
-
Event streams represent flows of discrete values as first-class objects, based on ideas found in [Deprecating the Observer Pattern](http://infoscience.epfl.ch/record/176887/files/DeprecatingObservers2012.pdf). Example:
50
+
Event streams represent flows of discrete values as first-class objects, based on ideas found in [Deprecating the Observer Pattern](http://infoscience.epfl.ch/record/176887/files/DeprecatingObservers2012.pdf).
0 commit comments