Skip to content

Flow v0.10.0

Choose a tag to compare

@github-actions github-actions released this 08 Aug 05:02
· 459 commits to main since this release

Flow v0.10.0 — 310 commits since v0.9.0: the MLIR/WASM epic, self-hosted flowgen, lifetime domains, and the sorting family.

MLIR / WASM epic #221 (complete)

  • MLIR backend on par with C for the affected surface: uN/null/
    memref coercions, bitwise and shift ops lowered to arith, per-function
    symbol-table restores, module globals in loops/if/vectorizer, variadic
    externs (...) with llvm.call vararg, fixed-size arrays as llvm.array
    struct fields, and static string-array globals.
  • WebAssembly gallery: 118 Flow examples compiled to site/wasm/.
  • wasm crossings: CPython embedding routed to Pyodide, browser file I/O
    (MEMFS + IDBFS), host-page-sized canvas.
  • SPIR-V GPU emission advanced alongside the CPU backend.

Compiler frontend

  • flowc self-hosting: checked-in bootstrap, whole-compiler self-compile
    three generations deep, CI-gated; string concatenation and inferred C type
    for unannotated let.
  • flow explain subcommand with the float total-order resolution.
  • Cost-based plan selector for sort/find (merge/quick/gap/heap
    families), adaptive ordering benchmark with measured numbers.

Language

  • Lifetime domain annotations and their four checks; frame domain wired to
    the arena; LSP hover for @lifetime; an audio example split across all
    four domains.
  • Float total order per the spec.

Standard library

  • render3d — software 3D renderer with pipeline documentation and measured
    rates.
  • psychstats and experiment — the analysis and presentation halves of
    experiment support; automata cellular-automaton framework.
  • Audio safety chain, WAV render target, and DSP fixes.

Runtime

  • flow_rt_sysinfo reduced to syscalls and compile-time facts; race
    detection relocated to lib/runtime/race.flow; zombie headers deleted.

Examples and gallery

  • Morphogenesis wave-2 (19 examples, gallery GIFs); genetics suites; planet
    pipeline (cubesphere, tectonics, elevation).
  • Games: physics3d, raycast_shooter, Icy Tower, The Falling Sand Game,
    billboard particles; software-3D clips recorded offline.
  • Numerical: Carrier–Greengard–Rokhlin adaptive FMM.

Branding, editor, CI

  • Flow logos replace text F glyphs; VS Code uses the logo as the .flow
    icon.
  • CI/Discord: rich embeds via a single action, worded #announcements,
    PR notices, docs deploy pings, and a #projects forum for releases.

Assets: flow-v0.10.0.tar.gz, flow-v0.10.0.zip, SHA256SUMS.txt.