4 ms·
If you like this kind of thing, google Self-Adjusting Computation. One advantage of self-adjusting computation vs. the differential dataflow approach is you ca
by erichocean 4y ago
If you like this kind of thing, google Self-Adjusting Computation.
One advantage of self-adjusting computation vs. the differential dataflow approach is you can convert existing imperative code to it very easily. For example, a ray tracer with self-adjusting computation is written very similarly to a ray tracer without it.
There's a C++ library that implements parallel-friendly self-adjusting computation here: https://github.com/cmuparlay/psac https://github.com/cmuparlay/psac
I see no reason why a Rust version couldn't be implemented.
- carterschonwald 4y agoSelf adjusting computation is such a great framework.
- jitl 4y agoIs "Self-Adjusting Computation" the Computer Science term for fine-grained automatic "reactive" subscription tracking like Mobx & Starbeam? Is it the same idea as presented here? https://github-com.translate.goog/nin-jin/slides/blob/master/reactivity/readme.md?_x_tr_sl=ru&_x_tr_tl=en https://github-com.translate.goog/nin-jin/slides/blob/master...
- erichocean 4y agoI'm not familiar with that approach, but it appears to be in the same design space (but not the same design). I'd examine both if you have time.