Recent adventures in performance optimization with Rust
willcrichton.net
Recent adventures in performance optimization with Rust
1–10 of 75 posts
Re: Recent adventures in performance optimization with Rust
#2I guess the title gets clicks, but I'm curious how good python gets. I'm under the impression pandas is pretty fast despite it being python
Re: Recent adventures in performance optimization with Rust
#3> the point of this post isn’t to compare highly-optimized Python to highly-optimized Rust. The point is to compare “standard-Jupyter-notebook” Python to highly-optimized Rust. I guess the title gets clicks, but I'm curious how good python gets. I'm under the impression pandas is pretty fast despite it being python
Re: Recent adventures in performance optimization with Rust
#4> the point of this post isn’t to compare highly-optimized Python to highly-optimized Rust. The point is to compare “standard-Jupyter-notebook” Python to highly-optimized Rust. I guess the title gets clicks, but I'm curious how good python gets. I'm under the impression pandas is pretty fast despite it being python
Re: Recent adventures in performance optimization with Rust
#5Re: Recent adventures in performance optimization with Rust
#6> the point of this post isn’t to compare highly-optimized Python to highly-optimized Rust. The point is to compare “standard-Jupyter-notebook” Python to highly-optimized Rust. I guess the title gets clicks, but I'm curious how good python gets. I'm under the impression pandas is pretty fast despite it being python
I feel though the killer is that inner loop where dataframe operations are being performed across a large number of iterations, and there's significant overhead there.
For-loops are usually not the most performant solution in Python.
I could be wrong, I feel that there's a SQL way to answer that question, in which case DuckDB might be able to exploit vectorization, parallelization, indexing and query optimization across the dataset in one fell swoop.
Re: Recent adventures in performance optimization with Rust
#7> the point of this post isn’t to compare highly-optimized Python to highly-optimized Rust. The point is to compare “standard-Jupyter-notebook” Python to highly-optimized Rust. I guess the title gets clicks, but I'm curious how good python gets. I'm under the impression pandas is pretty fast despite it being python
Re: Recent adventures in performance optimization with Rust
#8Re: Recent adventures in performance optimization with Rust
#9want to write fast rust? write your code in C or C++
Re: Recent adventures in performance optimization with Rust
#10Using the unsafe keyword... somehow makes me wonder where else unsafe is used...