Re:RustQuant: A Library for Quantitative Finance
by d0gsg0w00f on Saturday February 03, 2024 @05:55PM
(#39245612)
Is this kind of like the Rust equivalent of Bank Python? https://calpaterson.com/bank-python.html
[ Parent
| on HN ]
Re:RustQuant: A Library for Quantitative Finance
by mushufasa on Saturday February 03, 2024 @06:10PM
(#39245715)
No, it looks more like a Rust equivalent of libraries like ffn (financial functions for python) or many of the other ones listed here https://github.com/wilsonfreitas/awesome-quant
Using rust to do exploratory analysis in python seems like a misguided idea. But using rust to productize models that have performance and accuracy sensitivities, the things that C/C++ is still used for, indeed sounds like a good idea.
Most of the python libraries used in finance, like numpy/pandas, call out to C for performance reasons; the libraries are essentially python bindings + syntax to C functions. It would be interesting to think about replacing that backend with rust.
Re:RustQuant: A Library for Quantitative Finance
by pgwhalen on Saturday February 03, 2024 @06:27PM
(#39245838)
> Most of the python libraries used in finance, like numpy/pandas, call out to C for performance reasons; the libraries are essentially python bindings + syntax to C functions. It would be interesting to think about replacing that backend with rust.
Lots of this going on already - check out projects like Polars and DataFusion.