Re:Leveraging Rust in our high-performance Java database
by goostavos on Wednesday September 20, 2023 @02:33PM
(#37588018)
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.
[ Parent
| on HN ]
Re:Leveraging Rust in our high-performance Java database
by amunra__ on Wednesday September 20, 2023 @04:34PM
(#37589796)
Maybe 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!
Re:Leveraging Rust in our high-performance Java database
by Yeroc on Wednesday September 20, 2023 @05:55PM
(#37590735)
Check 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.