News for hackers. Stuff that matters.
Re:C++ Is an Absolute Blast by gpderetta on Tuesday December 24, 2024 @05:57AM (#42501121)
Rust would probably be a good fit for HFT, but as the field is so dominated by C++ is hard for another language to make inroads. Java managed to some extent.

I would expect a lot of unsafe though.

Re:C++ Is an Absolute Blast by cempaka on Tuesday December 24, 2024 @02:36PM (#42504323)
Ecosystem effects are definitely important to C++'s dominance in HFT, but it's also a domain where a lot of the guarantees Rust offers just aren't all that relevant. From a security perspective most code always runs in sandboxes accessible to only a select few whitelisted IPs. True, you don't want a segfault while you're in the middle of sending an order to an exchange, but most of those are pretty easily smoked out in simulation testing.
Re:C++ Is an Absolute Blast by gpderetta on Wednesday December 25, 2024 @10:07PM (#42512857)
Yes, if you are receiving malicious data from the exchange, getting p0wnd is the least of your concern.