|
|
|
|
|
by MSFT_Edging
864 days ago
|
|
Seconding this. I learned a little rust and really liked its philosophy. I was then working on a small project that needed to avoid the big data science python libraries because they're miserable in terms of portability to air-gapped networks. We had re-implemented a few mathematical and curve finding functions and even with the newest python they were uncomfortably slow. PyO3 made it so easy to implement a runtime switchable rust library exposed to python, it was almost unnerving. By writing those handful of functions in rust we got something like a 30x speedup. Note this was a small project with limited funding for r&d so the level of effort for performance speedup was really nice. |
|