|
|
|
|
|
by imtringued
496 days ago
|
|
The importance of memory safety depends on whether your code must accept untrusted inputs or not. Basically 99% of networked applications that don't talk to a trusted server and all OS level libraries fall under that category. Your HFT code is most likely not connecting to an exchange that is interested in exploiting your trading code so the exploit surface is quite small. The only potential exploit involves other HFT algorithms trying to craft the order books into a malicious untrusted input to exploit your software. Meanwhile if you are Google and write an android library, essentially all apps from the play store are out to get you. Basically C++ code is like an infant that needs to be protected from strangers. |
|
And yet, no matter how complex database engines really are, my experience has been the same: the number of bugs related to memory-safety were extremely rare.