Hudson River Trading’s Post

View organization page for Hudson River Trading, graphic

94,551 followers

Implementing highly performant production systems requires the constant pursuit of speed – without compromising correctness. 🎯 HRT C++ developers achieve this by investigating compiler behavior and leveraging compiler optimisations. In the latest post on the #HRTBeat, London-based SWE Iwona Kotlarska explores compiler optimisations, virtual functions, noteworthy limitations, and how to write code that harnesses these techniques to maintain fast and accurate trading systems. Catch the full story here: https://lnkd.in/esWDpAay #Devirtualisation #CompilerOptimisation #CppProgramming

Optimising Compiler Performance: A Case For Devirtualisation

Optimising Compiler Performance: A Case For Devirtualisation

hudsonrivertrading.com

Nam Le

Jülich Supercomputing Centre's Guest Student Programme incoming participant | CS @Durham University | Participant in IndySCC24 | Interested in High-Performance Computing (HPC) and low-latency C++ programming

3w

This is a great article! Although, it does make me wonder: If the impact of using virtual functions is quite significant (causing a whole heap of issues relating to cache efficiency) is it not better, at least for applications which require a lot of performance, to move away from the traditional OOP-heavy concepts altogether? This way, we can not only write more optimal structs to make use of cache locality, but also bypass v-pointers in general (and other issues commonly seen such as branch miss-prediction, compiled code size,…). Sure losing the flexibility of OOP is a downside, but the performance gains would potentially be massive. I would really be interested in hearing your opinions regarding this matter! Iwona K.

Like
Reply

To view or add a comment, sign in

Explore topics