Re:Functional Programming in JavaScript: A Collection of Han...
by mattpodwysocki on Saturday October 18, 2014 @11:02AM
(#8475442)
RxJS author here. We on the RxJS team have never called RxJS FRP as we do not have a continuous notion of time, instead we have a notion of virtual time. That and we do not distinguish between events and behaviors as they all are Observable objects.
[ Parent
| on HN ]
Re:Functional Programming in JavaScript: A Collection of Han...
by seanmcdirmid on Saturday October 18, 2014 @11:27AM
(#8475503)
Virtual time as in Jefferson's Time Warp system?
Re:Functional Programming in JavaScript: A Collection of Han...
by mattpodwysocki on Saturday October 18, 2014 @11:35AM
(#8475533)
As in you can specify the time at which things execute and swap out the concurrency model at any time. This makes it perfect for testing: https://github.com/Reactive-Extensions/RxJS/blob/master/doc/...
Re:Functional Programming in JavaScript: A Collection of Han...
by seanmcdirmid on Saturday October 18, 2014 @12:00PM
(#8475598)
It doesn't seem to be very related. Virtual time as defined in jefferson's seminal paper is a variation of Lamport's virtual clocks used in distributed discrete simulations; it is the analog of virtual memory.
The name clash wouldn't be such a big deal (systems is far away from webdev), but time warp is also very related to transactions and FRP in providing abstractions to deal with change in reactive programs.
Re:Functional Programming in JavaScript: A Collection of Han...
by mattpodwysocki on Saturday October 18, 2014 @12:34PM
(#8475670)
It's not. Virtual time can mean anything in this case as in not real time and it can be swapped out at any point.