Reactive programming is powerful, but often overlooked due to obscure syntax. Given int x,y,z; we can write z=x+y for immediate assignment. What if we could also write z~=x+y to ensure z is recalculated formulaically whenever x or y change, plus when(z) {..} to monitor changes?
Generally I think this is the ultimate logical extension of a language with Haskell-style IORef pointers and futures. For persistence, pointer reads must be able to go load stuff. For GC compaction, pointers need the ability to forward. Most of the plumbing is already needed.
-
-
In addition to reactive programming / observables, you might want to look at self-adjusting computation. See: http://www.umut-acar.org/self-adjusting-computation … https://blog.janestreet.com/incrementality-and-the-web/ … Simple incremental computation can be done using observables by not propagating equal values.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.