FlowLog: Re-thinking Datalog for Fast and Extensible Static Analysis
Abstract
Datalog is widely used to build static analyzers, yet existing engines often force a tradeoff between efficiency and extensibility. In practice, static analyses are not run once and forgotten: users edit facts, tune rules, diagnose bottlenecks, and often need semantics beyond standard Datalog, leaving these tasks to ad hoc tooling or invasive engine rewrites. We demonstrate FlowLog, a Datalog compiler that turns Soufflé-style programs into Differential Dataflow executables for efficient and extensible static analysis. Across 24 benchmarks derived from real-world workloads, FlowLog consistently outperforms state-of-the-art engines in runtime while remaining memory-efficient and scaling better. The demonstration uses a DOOP points-to analysis. Attendees run it, switching the same program from one-shot to incremental evaluation that retracts a fact and updates results in milliseconds; tune it, inspecting per-operator costs in a browser-based profiler and repairing a bad join order; and extend it with a k-core example beyond standard Datalog.
Create a lesson
Metadata
- Categories
- cs.PL, cs.LO, cs.SE
- Comments
- Accepted at SPLASH/ISSTA 2026 Tool Demonstrations Track
Related papers
Cache the Knowledge, Not Just the Prompt: Dynamic Datalog as the Action Language for LLM Agents
Shared title terminologycs.PLBruno Rucy Carneiro Alves de Lima, Victor Henrique Cabral Pinheiro
Statically Typed Purely Functional Definitional Interpreters for {\it Essentials of Programming Languages}
Shared title terminologycs.PLKwanghoon Choi
TauLang: A Language and Compiler for Space-Time Programming on Statically Scheduled Accelerators
Shared title terminologycs.PLXuxiao Yang, Junchi Wu, Yuqi Peng et al.
Beyond Locks and Thread IDs: Static Data Race Detection Off The Beaten Path (Extended Version)
Shared title terminologycs.PLDaniel Bund, Julian Erhard, Michael Petter et al.
GPU Offload in Rust: Portable, Safe, and Fast
Shared title terminologycs.PLManuel S. Drehwald, Marcelo Domínguez, Kevin Sala et al.
PyFlow: An Inter-procedural Static Analysis Framework for Python
Shared title terminologycs.PLZinan Gu, Haoxiang Yan, Peisen Yao