~/talk

Flan: An Expressive and Efficient Datalog Compiler for Program Analysis

Talkat POPL 2024 · 2024-01-14..01-20
links:none on file
links:none on file
slides:none on file

Flan compiles a high‑level Datalog interpreter written in Scala via Lightweight Modular Staging to generate specialized C code, keeping the interpreter’s productivity while removing interpretive overhead. It embeds Datalog in Scala to allow user‑defined lattices, aggregates, and functions, multiple join strategies and specialized indexes, and produces whole‑program compiled engines. Benchmarks show 1.4×–12.5× speedups (examples: 7.5× vs Soufflé, 2.1× vs another system) and compile times under ~100s.

AI-written summary · about

  1. 0:00Introduction to Flan
  2. 0:24What is Datalog
  3. 2:33Advantages of Datalog
  4. 3:58Limitations of Datalog compilers
  5. 5:23High-level Datalog interpreter
  6. 6:52Interpreter vs compiler performance
  7. 7:57Specializing interpreter with LMS
  8. 9:22Generating specialized code
  9. 10:25Performance optimizations in Flan
  10. 11:06Embedding Datalog in Scala
  11. 12:51Flan performance and flexibility
  12. 13:12Performance evaluation
  13. 14:40Conclusion and future work
  14. 15:46Q&A: Compile times
  15. 17:35Q&A: Garbage collector
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.