~/talk

When is a compiled language like Rust beneficial for Data Scientists?

Talkat SciPy 2024 · 2024-07-08..07-14· [python, rust]
links:none on file
slides:none on file

Experiments compare Python baseline code to Rust extensions (via PyO3), a NumPy-crate prototype, and a Rust-backed Polars pipeline; at 5 million rows with 100 features the stock Pandas pipeline runs ~7 minutes while the Rust/Polars variants cut that into interactive time. Selective Rust is most valuable for expensive recursive or looping kernels (Rust recursive beats Numba here) while Polars alone often yields the biggest practical win. Costs include steep Rust learning, cross-compilation and a high bus factor for maintenance.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:28Python dominance in data science
  3. 3:31Why consider Rust now
  4. 5:17Why Rust isn't the future
  5. 7:22First performance experiment
  6. 9:08Step changes in productivity
  7. 10:56Exploring Polars for data frames
  8. 13:02Selective component rewrites
  9. 15:09Comparing with Numba
  10. 18:41Maintenance and adoption risks
  11. 20:47Practical time savings debate
  12. 21:59Q&A session begins
  13. 22:21Learning insights from Rust
  14. 23:58Alternatives like Julia and GPUs
  15. 26:04Learning path for Rust and Python
  16. 27:49Desired Rust features in Python
  17. 29:13Closing remarks
~/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.