Does low latency code sometimes have to be "ugly"?
Posted
by
user997112
on Programmers
See other posts from Programmers
or by user997112
Published on 2012-12-18T21:23:16Z
Indexed on
2012/12/18
23:12 UTC
Read the original article
Hit count: 126
(This is mainly aimed at those who have specific knowledge of low latency systems, to avoid people just answering with unsubstantiated opinions).
Do you feel there is a trade-off between writing "nice" object orientated code and writing very fast low latency code? For instance, avoiding virtual functions in C++/the overhead of polymorphism etc- re-writing code which looks nasty, but is very fast etc?
It stands to reason- who cares if it looks ugly (so long as its maintainable)- if you need speed, you need speed?
I would be interested to hear from people who have worked in such areas.
© Programmers or respective owner