Flow v0.10.0
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 toarith, per-function
symbol-table restores, module globals in loops/if/vectorizer, variadic
externs (...) withllvm.call vararg, fixed-size arrays asllvm.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
flowcself-hosting: checked-in bootstrap, whole-compiler self-compile
three generations deep, CI-gated; string concatenation and inferred C type
for unannotatedlet.flow explainsubcommand 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.psychstatsandexperiment— the analysis and presentation halves of
experiment support;automatacellular-automaton framework.- Audio safety chain, WAV render target, and DSP fixes.
Runtime
flow_rt_sysinforeduced to syscalls and compile-time facts; race
detection relocated tolib/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#projectsforum for releases.
Assets: flow-v0.10.0.tar.gz, flow-v0.10.0.zip, SHA256SUMS.txt.