Incremental – A library for incremental computations(github.com)
337 points by handfuloflight 1 day ago | 67 comments
tl;dr: Incremental is an OCaml library from Jane Street for building computations that efficiently recompute when their inputs change, based on Umut Acar's research on self-adjusting computations. It's useful for spreadsheet-like calculations, GUI view construction, and keeping derived data in sync with source data.
HN Discussion:
  • Similar reactive/signals patterns are widely used in JavaScript UI frameworks today
  • Incremental computation approaches have historical precedent in finance and other domains
  • The library fits within a broader ecosystem of incremental/dataflow systems like DBSP and Differential Dataflow
  • ~Questioning how Incremental meaningfully differs from standard observable patterns
  • Jane Street excels at packaging research ideas into usable libraries with valuable design docs