3 ms·
Do you have any background reading for high performance java or how it's used in the finance world? I had no idea it was used in this niche. As a crufty Java de
by goostavos 3y ago
Do you have any background reading for high performance java or how it's used in the finance world? I had no idea it was used in this niche. As a crufty Java dev who types `new` everywhere and never gives thought to GC, squeaking out high performance sounds like an interesting side of the language.
- amunra__ 3y agoMaybe we should write a blog post, though there's gotta be one out there for this already. The short of it is: Learn C. Learn your system calls. Learn JNI. Learn about com.sun.misc.Unsafe. Learn about the disruptor pattern. Learn how to pool objects. The long type can pack a lot of data. Go from there!
- Yeroc 3y agoCheck out Peter Lawrey's blog [1] has lots of excellent content coming from high performance trading background. Also some older (probably dated) content on Martin Thompson's Mechanical Sympathy [2] blog. [1] http://blog.vanillajava.blog/ http://blog.vanillajava.blog/ [2] https://mechanical-sympathy.blogspot.com/ https://mechanical-sympathy.blogspot.com/