DELAPARRA
Index
Color
NL
Category: Programming paradigms

Dataflow Programming

Explained by Updated

What is Dataflow Programming?

Dataflow Programming: A dataflow program is a directed graph: nodes are operations, edges carry data. A node "fires" as soon as its inputs are ready, so the runtime — not you — decides scheduling order. Dataflow programming describes a program as a graph. Nodes are operations, and edges carry data between them. A node runs as soon as all its inputs are available, so the order follows from the data rather than from the code's line order.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about Dataflow Programming

How is Dataflow Programming used in practice?

Spreadsheets are the most familiar example. Change one cell, and every formula that depends on it updates automatically. Build tools, stream processors and visual tools like Node-RED follow the same model.

What should you keep in mind with Dataflow Programming?

The benefit is that parallelism comes naturally. Independent nodes can run at the same time without extra work. In everyday code, you see the idea in reactive front-end frameworks, where a computed value updates when its inputs change, and in data pipelines where each step only cares about its input and output.

At a glance

CategoryProgramming paradigms
Explained by
Updated

More Programming paradigms terms

All terms starting with D

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.