4 ms·
But how are we going to trade stocks in nano seconds without C++?!
by champagnepapi 3y ago
But how are we going to trade stocks in nano seconds without C++?!
- huytersd 3y agoYou’re not. C++ isn’t going anywhere in certain industries.
- anonymoushn 3y agoA lot of shops do this in Java. Rust and Zig are usable but nobody's going to switch.
- logicchains 3y ago>A lot of shops do this in Java Absolutely not in the memory-safe subset of Java though.
- anonymoushn 3y agoHaha, it's rough when you don't even get arrays of structs!
- ryao 3y agoWhat is the memory-safe subset of Java? Java is memory safe by definition. Sadly, the definition might not give people what they want, which is bug-free code.
- lofaszvanitt 3y agoInvest, then look back 5 years later.
- czbond 3y agoGrew up on C++ and the paradigm (& loved it), but then moved to interpreted for use cases. I think the uncoolness of them is due to OOP methodology... programmers today seem to want to be easier to get moving, but then spend more time debugging OR the debugging has been "placed onto" DevOps / use of Cheap fast hardware. IMHO
- czbond 3y agoBecause I always want to place a sell order for NaN shares. <relax, early morning pre-coffee joke>
- marcosdumay 3y agoHigh speed fiance is mostly done in Java and Haskell, because mistakes are expensive. (And yeah, it's one of the very few fields that Haskell enters the list.)
- kajaktum 3y agoWouldn't the tail latency really mess with you tho? You could be doing really bad things with bad data.
- champagnepapi 3y agooh wow! I had no idea at all. I'll have to read more about this :)
- alex_smart 3y agoHFTs have pretty much all moved to FPGAs for sub-microsecond latencies in past few years. C++ can’t compete with that, let alone Java or Haskell.
- namtab00 3y agoJane Street is all-in on OCaml. Their podcast titled "Signals and Threads" is quite interesting.
- kyawzazaw 3y agoThey maybe the sole one that does not use C++
- jjgreen 3y agoNow a "high speed fiance" is something you should be really careful around
- YurgenJurgensen 3y agoWith Verilog, clearly. Actually, I have no idea if FPGAs in HFT are still a thing.