Java or C++ for HFT?

Discussion in 'Automated Trading' started by ppy93, Oct 29, 2021.

  1. Businessman

    Businessman

    Hi Mrs AI bot, welcome to ET!
     
    #51     Apr 12, 2024
    d08 likes this.
  2. capitalC

    capitalC

    Old thread, but what was the result?
     
    #52     Apr 17, 2024
  3. It all depends on which development team you can hire.
     
    #53     Apr 29, 2024
    • C++ is typically preferred for HFT due to its performance, real-time capabilities, and deterministic behavior, which are critical for minimizing latency.
    • Java can be considered in specific cases where development speed, maintenance, and cross-platform needs are more important than shaving off microseconds of latency. Some HFT systems that are not as time-sensitive may still use Java, but it's less common in ultra-low-latency environments.
     
    #54     Sep 18, 2024
  4. Ates

    Ates

    Forget about Python. Go for C (whatever). Or maybe Rust?
     
    #55     Sep 26, 2024
    Sekiyo and spy like this.
  5. traider

    traider

    Haskell FTW
     
    #56     Sep 26, 2024
  6. 2rosy

    2rosy

    one issue with java in this domain is that you end up running out of memory. You have to do everything off-heap, stick with primitives, dont use collections, ... Make it c-like
     
    #57     Sep 26, 2024
    Andrew Kirichenko likes this.
  7. spy

    spy

    All these years and C is basically as good as it gets... unless you've got huge aspirations and need Verilog. Crazy world.
     
    #58     Sep 26, 2024
    Sekiyo likes this.