Experience Porting CPU‑Bound Data Analytics Tasks from Python to Rust
summary
A data analyst describes migrating CPU-bound data-processing and modeling code from Python to Rust by rewriting hotspots for linear regression, linear programming and combinatorial optimization. The talk covers tooling and techniques used: PyO3 for Python–Rust integration, SIMD/ILP and multithreading for performance, PGO and other optimizations, and evaluates whether the speedups justify the effort based on the presenter’s experience.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:31Motivation benchmarks
- 3:02Python vs Rust performance
- 6:00Combinatorial optimization
- 8:11Multithreading in Rust
- 10:23SIMD basics
- 14:21Instruction-level parallelism
- 16:56SIMD recommendations
- 19:24Profile-guided optimization
- 20:07Final performance results
- 20:27Linear regression case
- 24:05Linear programming task
- 27:46Project outcomes trade-offs
- 30:00Q&A
