~/talk

Building Daft: Python + Rust = a better distributed query engine

Talkat SciPy 2024 · 2024-07-08..07-14· [rust, data-engineering]
name:Jay Chia
links:none on file
slides:none on file

Daft is a Python dataframe library whose core execution is written in Rust and shipped as a precompiled wheel (pip install getdaft). It reads multimodal data (images, Parquet, JSON), builds a lazy Rust plan in Python, and schedules tasks with Ray for distributed runs; local execution drops the GIL and runs the plan in Rust. Demo numbers: naive Python loop 6s, str.count 500ms, Rust single-thread 1s, Rust+Rayon+pyo3.allow_threads ~200ms.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14What is Daft
  3. 6:55Why Python
  4. 10:07Demo
  5. 20:45Conclusions
  6. 21:48Python only
  7. 22:35Daft Architecture
  8. 23:11Daft on multiple machines
  9. 23:44Whats expensive
  10. 24:33Questions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.