Re:Jane Street: How to Build an Exchange
by codetrotter on Friday January 06, 2023 @04:05PM
(#34281049)
> whether someone will succeed in using the same development strategy as Jane Street, namely using a non-C++ language as their primary language
It’s gonna happen and it’s gonna be Rust
> you could stand to use a language like Rust that has an ecosystem and interoperability with C++.
Indeed :)
Re:Jane Street: How to Build an Exchange
by LAC-Tech on Friday January 06, 2023 @04:30PM
(#34281457)
Maybe. Rust as a core language is less productive than ocaml, by a lot. But Rusts standard library is just so much better than Ocamls (including Jane Streets version) - which tends to even it out.
Re:Jane Street: How to Build an Exchange
by woodruffw on Friday January 06, 2023 @09:31PM
(#34284478)
I think there’s probably a hidden coefficient here: I would readily believe that an experienced OCaml developer is more productive than an equivalently experienced Rust developer, but that a junior Rust developer is probably several times more productive than a similarly junior OCaml programmer.
(This is not unique to this pairing of languages.)
Re:Jane Street: How to Build an Exchange
by hot_gril on Friday January 06, 2023 @04:12PM
(#34281146)
I once wrote one mostly in SQL with a Postgres database. It behaved pretty predictably with concurrent usage. I wonder how many trades per second it could do. Postgres itself can handle a lot of the difficult details, but reinventing those wheels for trading in particular might get you something faster.
Re:Jane Street: How to Build an Exchange
by pclmulqdq on Friday January 06, 2023 @04:52PM
(#34281776)
There is a little bit of survivorship bias here: in the 2000's, the two main languages of HFT were C++ and Java. By 2015, all the Java shops (and many of the C++ shops too) had failed. Lots of companies tried to do something other than C++, but most of them chose wrong.
A shell of Allston (formerly big Java shop) lasted until last year.
Re:Jane Street: How to Build an Exchange
by willdearden on Friday January 06, 2023 @11:45PM
(#34285303)
I was there until the end. It was definitely fading into obscurity but still had >50% of peak numbers. And we were switching to C++ in the last year or so.
They didn’t fail due to their language choice
The author never said they failed because of language choice.
> By 2015, all the Java shops (and many of the C++ shops too) had failed. Lots of companies tried to do something other than C++, but most of them chose wrong.
Re:Jane Street: How to Build an Exchange
by pclmulqdq on Friday January 06, 2023 @09:12PM
(#34284328)
It's hard to imagine that language choice wasn't a factor - or at least that the philosophical ideals that led to the language choice weren't a factor.
Re:Jane Street: How to Build an Exchange
by Pepe1vo on Saturday January 07, 2023 @04:59AM
(#34286734)
That's not true, I've worked at IMC and they extensively use Java for their production systems. The performance critical parts are a mix of hand crafted assembly, C, C++, FPGAs and a dozen other esoteric languages/techniques no ones ever heard of.
Re:Jane Street: How to Build an Exchange
by pclmulqdq on Saturday January 07, 2023 @11:07AM
(#34289340)
So you're saying they're a C++ shop that uses other languages when appropriate? Like every other C++ shop in trading?
This is factually incorrect, and saying a trading shop failed because of language choice is, um, less than smart.
Re:Jane Street: How to Build an Exchange
by signify1121 on Friday January 06, 2023 @05:42PM
(#34282376)
I have worked for a big (probably more successful) competitor to Jane Street, that uses in its different offices C#, C++, possibly some Java that I'm unaware of, and for non-production systems a very large mix of everything under the sun (Python, R, etc.)
The idea that the language is part of their success is simply absurd. If anything having to have to develop and maintain an entire ecosystem probably slowed them down more than anything.
Re:Jane Street: How to Build an Exchange
by mhluongo on Friday January 06, 2023 @07:15PM
(#34283345)
It can sometimes help with hiring early on. Pg's "blob" blog post comes to mind.
It also could be that Jane Street succeeded regardless or even despite OCaml. At the end of the day OCaml isn't going to ensure that your trading strategies work. It's not going to suddenly create alpha. But I do suspect they've gotten serious hiring and marketing returns by using OCaml. And benefited the OCaml ecosystem as a byproduct, which is a pretty solid side-effect, even if side effects are not very functional :D