Difference between Traditional and Reactive Computer System
1. Traditional Computer System :
Traditional Computer System takes the input from the user and computes the output as the function of the input. It basically computes function on the input.
Output data = f(input data)
If x is input and f is some function, y(output) = f(x)
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
2. Reactive Computer System :
Reactive Computer System takes the input from the user but does not produce the output as a function of input but it interacts with the environment. In this interaction, the results computed are used to perform some action on environment.
Difference between Traditional and Reactive System :
|TRADITIONAL SYSTEM||REACTIVE SYSTEM|
|Traditional system produces output as a function of input.||Reactive system does not produce output as a function of input.|
|It does not interact with environment.||It interacts with environment.|
|Computation in traditional system is terminating.||Computation is reactive system is non-terminating.|
|Only one input is taken at a time.||It may take several inputs at a time.|
|Results are not used to perform action on the environment.||Results are used to perform action on the environment.|
|It takes input as data.||It takes input as event.|
|Its structure is simple.||Its structure is complicated.|
|The example of traditional system is simple calculator software.||the example of reactive system is real-time systems.|