~/talk

Bonsai: Compiling Queries to Pruned Tree Traversals

Talkat PLDI 2026 · 2026-06-15..06-19· [databases, compilers-and-language-design]
links:none on file
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

Bonsai compiles high-level queries plus an annotated algebraic tree spec into C++ single-pass traversals that automatically generate always/maybe/never pruning conditions using symbolic interval analysis and added geometric predicate analysis. It fuses filters, counts, reductions and products into one traversal, reads tree augmentations (counts, mins) to avoid recursion, and produces code that matches handwritten traversals, gives asymptotic speedups over scans, equals hand-tuned ray tracers and beats a collision library by ~1.5x, artifacts available with the paper.

AI-written summary · about

  1. 0:00Bonsai compiler intro
  2. 1:02Interval trees example
  3. 3:50Query ops in Bonsai
  4. 5:13Compiling queries to traversals
  5. 6:17State of the art before Bonsai
  6. 7:21Base iterators for traversals
  7. 8:45Count ops with filters
  8. 9:28Lowering filters in Bonsai
  9. 10:30Pruning via predicate analysis
  10. 12:15Performance results
  11. 13:59Geometric predicate analysis
  12. 16:49Representative power
  13. 17:49Bonsai in system ecosystem
  14. 18:39Q&A
~/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.