TimelyDataflow / TimelyDataflow/differential-dataflow

Question: what can differential dataflow be used for?

Open
#154 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
3k
Forks
211
Avg merge
10h 42m
Merged PRs (30d)
34

Description

This is a fascinating project. I've been studying differential dataflow and specifically the core operators like iterate and arrange. I've also been trying to map out how it juxtaposes with reactive programming (a la MobX).

Can differential dataflow be used to implement, say:

  • a programming language compiler with incremental compilation (for fast as-you-type intelligence, fast builds, etc.), but written "naively" as a non-incremental multi-pass compiler?
  • the core React reconciliation algorithm (used to be referred to as "virtual DOM"), but written "naively" as if it were generating the tree just once?

Most of the examples I can find on differential dataflow show how to perform some generic data crunching with very simple input and output structures, but I'm asking more about transforming some rich data structures into other rich data structures.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the differential dataflow examples and the iterate and arrange operators named in the issue; compare their simple input/output models with the compiler and React reconciliation use cases. Done would be a documented answer, ideally with a concrete rich-structure example or explicit limits.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, rust
Domain
compilers, data-engineering, frontend
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.