Skip to content
HN On Hacker News ↗

GitHub - janestreet/incremental: A library for incremental computations

▲ 347 points • 67 comments • by handfuloflight • 4mo ago • HN discussion ↗

Pangram verdict · v3.3

We believe that this document is fully human-written

0 %

AI likelihood · overall

Human
100% human-written 0% AI-generated
SEGMENTS · HUMAN 1 of 1
SEGMENTS · AI 0 of 1
WORD COUNT 130
PEAK AI % 0% · §1
Analyzed
Jul 21
backend: pangram/v3.3
Segments scanned
1 windows
avg 130 words each
Distribution
100 / 0%
human / AI fraction
Verdict
Human
Pangram v3.3

Article text · 130 words · 1 segments analyzed

Human AI-generated
§1 Human · 0%

Incremental is a library that gives you a way of building complex computations that can update efficiently in response to their inputs changing, inspired by the work of Umut Acar et. al. on self-adjusting computations. Incremental can be useful in a number of applications, including:

Building large calculations (of the kind you might build into a spreadsheet) that can react efficiently to changing data. Constructing views in GUI applications that can incorporate new data efficiently. Computing derived data while guaranteeing that the derived data stays in sync with the source data, for instance filtering or inversing a mapping.

You can find detailed documentation of the library and how to use it in incremental/src/incremental_intf.ml. You can also find an informal introduction to the library in this blog post and this video.