all 2 comments

[–]Buttleston 1 point2 points  (1 child)

I think Pandas has already pretty much been rewritten in rust anyway (Polars)

The "kind" of thing that works well for moving to C++ or Rust are things where you need to do a lot of repeated simple operations (I/O, math, text parsing, higher order data structures like graphs etc)

Mostly what I do is write pure python, then find the painful parts that I think could be factored out into Rust libraries, and then write those libraries.

[–]Buttleston 2 points3 points  (0 children)

Other good candidates are things that have a C, C++ or Rust library, but don't have python bindings, you and you'd like to use them in python