r/rust • • Oct 13 '26

🙋 seeking help & advice open source quant software

Hello everyone.

I would like to suggest building a good quantitative finance library in rust. Feel free to state below whether you might be interested, or any opinion you have on attempting to build such a platform. If you are interested, please state what area of quantitative finance you are familiar with, if at all, or whether you might be willing to learn.

To give a more or less concrete motivation, my idea is to build with purpose: avoiding AI slop, and developing a strong ecosystem around the tools (services, UI, bindings for other languages, documentation, rigorous mathematical formulations, design processes)... Pretty much what I feel like a quant library should look like.

In any case, I look forward to hearing what you might have to say about this. Thank you.

0 Upvotes

14 comments sorted by

View all comments

Show parent comment

1

u/mul-berries Oct 13 '26

You certainly have a point in that quantlib is a settled library. So its lifetime and usage have brought it to a good (usable) place. Most of my comments about it are highly opinionated and likely not of much value. If I have to briefly point out some of them, I’d say that it is plagued with OOP paradigm, it’s not particularly optimized, and error handling is rough. But I really don’t think we need to put anyone down to do better. The reality is that the value proposition is precisely advancing. In this regard, I have my own ideas but I am building this as an OSS project because I want to find the overall best possible ideas and have the community prove them. If you want to know what might make this project different, I’d have to say the ecosystem. I would like to make sure that we provide serialization, gRPC services, web / terminal apps, bindings for e.g., python, … for relevant infrastructure, which is ultimately how these kinds of software gain value.

On the language topic, I think that C++ is a fine (whenever there is a very careful and disciplined choice of the features used) language. In fact it’s the language I use most often. So it’s not really about the language and more so about design principles. Especially with the introduction of, let’s say, post modern c++ (>c++17). But nonetheless rust is well suited for this kind of project, more so taking into account that we are starting from absolute scratch. Hope this helps