|
|
|
|
|
by tjoff
1340 days ago
|
|
> Turns out you can as long as you don’t garbage collect during the trading day by carefully managing allocations and manually running GC each day before trading starts. The surprising thing here is that it is considered worth it with those limitations. My hope/guess is that because of the GC hype there wasn't any good alternatives. With the alternatives gaining maturity now I'd hope that that decision wouldn't be made today (when starting from a clean slate). |
|
It shouldn't be that surprising. Languages like Java and C# are perfectly sensible languages for writing the vast majority of a lot of trading systems. So it's eminently reasonable to use them, or equivalent, and deal with the bits that are GC-phobic as special cases.
I've worked with/on trading systems written is mainstream languages including C++, Java, C# and Python, as well as less mainstream such as APL and Smalltalk. I can safely say that there are way more critical concerns than whether or not it uses a GC.