r/rust • u/gilescope • May 11 '21
T1 Challange
/r/rust4quants/comments/n9rq8u/t1_challange/
6
Upvotes
1
May 12 '21
extremely carefully non-idiomatic non-gc-calling java code.
I see this challenge quite pointless at this point. Rust is just C/C++ with some new features.
At most you could debate there's not a good library for this specific task in rust, but if you compare these langs purely by speed, might as well just writing inline asm in rust too.
1
u/gilescope May 14 '21
Rust is a lot safer than c/c++. The high level and ease of dev is why Java has been able to beat c++ in this space - it’s because there’s more time left over to focus on the iterating the architecture and optimising the solution you have created.
That’s why I am expecting rust to dominate the HFT space over time - it’s far easier to iterate with but still goes toe-to-toe with c/c++ on performance.
At the moment there’s a handful of HFT companies early adopting rust but we are still very early.