News for hackers. Stuff that matters.
Re:We chose Java for our high-frequency trading application by Tade0 on Monday October 26, 2020 @11:08AM (#24896970)
My friend spent two years working for a large bank as a (his words) "trader's bitch". Every day the trader would request a new feature and my friend had at most two hours to implement it.

They used a combination of Python and highly GC-tweaked Java.

This was six years ago, but I see that similar techniques are still used to this day.

Re:We chose Java for our high-frequency trading application by bloat on Monday October 26, 2020 @12:08PM (#24897665)
In my experience this is a pendulum. Traders hire a few desk developers who are paid by the business, and who work directly with the traders in the same physical area. They crank out code under a lot of pressure for fast turn around, and eventually it becomes completely unmanageable and / or there is some disaster in production.

At that point the technology organisation starts taking by over, the desk developers are let go or they move into technology and start getting paid by technology instead of by the business. Things are now done in a more normal enterprisey software development way, and things are generally done more safely, with more design up front, and more documentation. Of course it also takes a lot longer to get anything done.

So traders decide to hire a bunch of developers, answerable only to them, and back to the start we go...

Re:We chose Java for our high-frequency trading application by RankingMember on Monday October 26, 2020 @11:50AM (#24897470)
Damn, seems like a good way to have a ton of buggy code in production.
Re:We chose Java for our high-frequency trading application by dudul on Monday October 26, 2020 @01:05PM (#24898402)
When you do HFT, nobody cares about that. The only thing that matters is to make money.

I also worked on HFT software written in Java (not the one in this article), and the mindset was completely different from other industries. F QA, F unit tests, F your F-ing AbstractProxySingletonFactory, just write the code that makes it work, see you after lunch to deploy.

Yes, in a lot of ways it is awful, but OTOH it is really great intense bootcamp to learn how to write very modular, easy to change and to read code. No time to over engineer, no time to build these fancy generic abstractions to support the one use case you have and the dozen hypothetical use cases product never asked for.

Re:We chose Java for our high-frequency trading application by lkbm on Monday October 26, 2020 @12:00PM (#24897584)
I'm guessing most people are familiar, but if you're interested in this, look up "Knight Capital flash crash". They lost $440MM in about 45 minutes. As I recall, they reused an old feature flag accidentally reviving some old code.
Re:We chose Java for our high-frequency trading application by bywaterstreet on Monday October 26, 2020 @04:51PM (#24901242)
Thanks for the ref. I'll bring this up the next time somebody questions my "let's clean up these flags in prod".
Re:We chose Java for our high-frequency trading application by Tade0 on Monday October 26, 2020 @12:08PM (#24897679)
Oh yeah. But the traders had just one KPI - money made.