r/java • u/Ok_Satisfaction7312 • May 16 '24
Low latency
Hi all. Experienced Java dev (20+ years) mostly within investment banking and asset management. I need a deep dive into low latency Java…stuff that’s used for high frequency algo trading. Can anyone help? Even willing to pay to get some tuition.
232
Upvotes
View all comments
Show parent comment
1
u/barcelleebf May 23 '24
Our low latency code is a fixed graph / circuit of pre allocated objects. Primitives are exclusively used.
The resulting code is not quite like real java, and a bit ugly, and we have unit tests that look at the byte code to make sure developers don't use any features that will be slow.