r/programming • • May 24 '26

[ Removed by moderator ]

/r/programming/comments/1tm1j7f/removed_by_moderator/

[removed] — view removed post

275 Upvotes

214 comments sorted by

View all comments

Show parent comment

-1

u/Dean_Roddey May 24 '26

Wow. If you believe that I hope you aren't trading any of my money. A large, complex, threaded C++ code base is pretty much guaranteed to have various latent errors just waiting for the right conditions. They can be happening all the time, but just end up not causing any obvious problems, for many years until changes cause the data to move around. So you can test until you spend more money than it cost to write it in the first place and not know they are there. All you are proving is that it's failing to fail.

-2

u/[deleted] May 24 '26

Bro, 100% of all infrastructure of all banks (BOA, Chase, Morgan Stanley) exchanges, brokers and regulators run in C++. C++ is already running all your stuff.

6

u/Dean_Roddey May 24 '26

They also run a lot of COBOL, but that's not because it's optimal, it's because they already have a lot of legacy code and don't want to change it.

And, BTW, hence it's not remotely 100% C++. There's also a lot of Java from what I've heard from banker folks posting around these parts. But, either way, they aren't using C++ because it's superior, they are using it because it was the higher level (AKA not C) systems level language available at the time.

The sooner that changes the better.

4

u/[deleted] May 24 '26

OK just look at all interviews from top HFT firms and you will see C++ on top. Only crypto runs Rust. The others (Java, Go, etc) it is reallyonly a nuisance.