• C++ Programming for Financial Engineering
    Highly recommended by thousands of MFE students. Covers essential C++ topics with applications to financial engineering. Learn more Join!
    Python for Finance with Intro to Data Science
    Gain practical understanding of Python to read, understand, and write professional Python code for your first day on the job. Learn more Join!
    An Intuition-Based Options Primer for FE
    Ideal for entry level positions interviews and graduate studies, specializing in options trading arbitrage and options valuation models. Learn more Join!

Is the programming language Rust just "new wine into old wineskins"? Discuss

Good couple of posts!

Taking a contrarian viewpoint again, what's the point of Rust wrappers for Tensorflow etc. when we alreay have them in Python?

On a follow-on, I would hope that function signatures/calls for Rust-TensorFlow are exactly the same as with Python. Otherwise, a new learning curve to learn a new interface.


A good example is how C# talks to C++/CLI.
 
Last edited:
Interop is probably feasible because you can do unsafe feature just like C# in Rust.

as long as you can generate the dll with the func signatures i don't think there is any problem with it.

but sitll my main beef is actually on the linguistic level of Rust. Rust sux in terms of "dynamic" typing and referencing.
 
C++ == Bjarne Stroustrup
Python == Guido van Rossum
C# = Anders Hejlsberg

Rust == ?
 
Not super widely yet; at least a few “new” hft firms (mostly within crypto or digital assets from what I can tell) that are writing their infrastructure are using rust based on recruiter LinkedIn postings, but most of the “well known” names already have existing infrastructure in c++ that doesn’t make sense to port to rust.

If you’ve got existing C++ infrastructure that’s been battle hardened over the years, rust isn’t worth it
On a possibly analogous historical precedent: in the 80s C++ emerged and it could compile C code. Saved new investments.
On migration, C developers created structs + pointers to them. Later they became OO classes etc.

The chances of porting C++ libraries to Rust is well nigh impossible for technical and business reasons, I suspect.
 
Last edited:
Back
Top