Crate hydroflow

source ·
Expand description

Hydroflow is a low-level dataflow-based runtime system for the Hydro Project.

The primary item in this crate is the Hydroflow struct, representing a Hydroflow dataflow graph. Although this graph can be manually constructed, the easiest way to instantiate a Hydroflow instance is with the hydroflow_syntax! macro using Hydroflow’s custom “surface syntax.”

let mut hf = hydroflow::hydroflow_syntax! {
    source_iter(["hello", "world"]) -> for_each(|s| println!("{}", s));
};
hf.run_available();

For more examples, check out the examples folder on Github.

Re-exports§

Modules§

  • Hydroflow’s inner (intra-subgraph) compiled layer.
  • Hydroflow lattice and flow properties, very WIP.
  • Hydroflow’s outer scheduled layer. Deals with inter-subgraph runtime data-passing and scheduling.
  • Helper utilities for the Hydroflow surface syntax.

Macros§

Type Aliases§

Attribute Macros§

Derive Macros§