Live data from Hacker News

A better build system for OCaml

blog.janestreet.com

111–120 of 219 posts

Re: A better build system for OCaml

#111
post #13

The only thing worse than a complex codebase is a complex build system. I think CMake is an abomination. “Hey go learn this new language to compile this other language!”

The only thing worse than a complex build system is a simple build system that can't build what you need to build. :(

After seeing enough bitbake recipes, I have to respectfully disagree. Some things are better off left unbuilt.

Re: A better build system for OCaml

#112
post #65

Earlier quoted context omitted.

Grass is always greener my friend. Many jobs in finance are updating 20 year old Java code, or figuring out new ways to load data in and out of Excel files for custom reporting.

OP should've been more specific. HFT firms, not any other finance companies, probably have a lot more exciting work due to the nature of reducing latency using all sorts of novel techniques. I wonder if they disable all the fancy exploit mitigation protection in linux kernel just for a tiny performance hit

Most of them simply bypass the Linux kernel altogether

Processes reading and writing directly to FPGA/NIC ring buffers.

Shunning TCP in favour of UDP based protocols that are easy to optimize for your particular usecas in userspace.

Removing cores from the Linux scheduler entirely and pinning processes to those cores.

This stuff isn't even novel, it's been standard practice for a couple of decades.

Re: A better build system for OCaml

#113

Whenever I see posts from Janestreet blog I laugh inside thinking how working on the financial industry at Jane is probably more fun and rewarding than some 90% of the jobs in the so-called tech industry.

Is it? Hours are long and the standards are very demanding, and in the end you're just manipulating numbers for profit, so that's not (for most people) a very meaningful endeavour.

I still rank it above making people click on ads though.

Re: A better build system for OCaml

#114
post #90
post #80

Earlier quoted context omitted.

Mother capitalism deems that our brightest young minds best serve humanity in two tasks. Keeping the public passively scrolling, and moving money at speed to make wealthy people more wealthy.

Some fraction of young minds, not all. I was happy to work at a small aerospace company with extreme concentration of brightest minds. Only because they loved the domain, and didn't mind a salary cut. What a joy and relief it was for me after FAANG!

> Only because they loved the domain, and didn't mind a salary cut.

Yes, so it means GP is right! Modern capitalism in tech is about rewarding the two aforementioned tasks.

Re: A better build system for OCaml

#116
post #80

Earlier quoted context omitted.

OP should've been more specific. HFT firms, not any other finance companies, probably have a lot more exciting work due to the nature of reducing latency using all sorts of novel techniques. I wonder if they disable all the fancy exploit mitigation protection in linux kernel just for a tiny performance hit

Mother capitalism deems that our brightest young minds best serve humanity in two tasks. Keeping the public passively scrolling, and moving money at speed to make wealthy people more wealthy.

Actually, not. These market makers are often prop shops. That means they use their own fund (prop = proprietary) to do the trading. They can do that because they don't need much capital to run.

So the story here is that over the last twenty years they stole the lunch from the traditional market makers like eg banks.

Of course, they got rich in the process. But they started from relatively modest means, compared to the companies they took on.

Michael Lewis's 'Flash Boys' is an hilarious account of this process. Well, it's involuntarily hilarious, because to tell his story, Lewis needs to cast Goldman Sachs (!) and other big banks as the victim. See the rebuttal 'Flash Boys: Not so fast' by Peter Kovac for more insight.

Re: A better build system for OCaml

#117
post #80

Earlier quoted context omitted.

Mother capitalism deems that our brightest young minds best serve humanity in two tasks. Keeping the public passively scrolling, and moving money at speed to make wealthy people more wealthy.

Absolutely. The moral aspect is certainly questionable. Although, I wouldn't say "all brightest minds" are going to neglect their moral concerns for getting rich

At one point, Jane Street had a lot of the effective altruists flock to them to 'earn to give'.

Re: A better build system for OCaml

#118
post #38

Earlier quoted context omitted.

The ideas embodied in modern target-oriented CMake are worthwhile. It's all hobbled by a dreadful script language but that could be improved with sufficient motivation.

I think what annoys me about it the most is that for every good idea in there there's one piece of tedious crap you have to work around, one actively bad misfeature that doesn't work properly, and one terrible aspect of the awful scripting language. (And two minor annoyances that people determined to hate CMake will never shut up about. But then, if you're determined to hate something, there are worse things than CMa…

> I think what annoys me about it the most is that for every good idea in there there's one piece of tedious crap you have to work around, one actively bad misfeature that doesn't work properly, and one terrible aspect of the awful scripting language.

Sounds like the perfect match for C++.

Re: A better build system for OCaml

#119
post #12

I wonder if anyone has used Jane Street's open source OCaml libraries and tools for somewhat serious projects. I took a brief look at these things, and my impression is that their stuff isn't "ready" for anyone outside Jane Street, even though they put a lot of effort in building the ecosystem and open source their code.

We used them at Bloomberg.

Re: A better build system for OCaml

#120

Whenever I see posts from Janestreet blog I laugh inside thinking how working on the financial industry at Jane is probably more fun and rewarding than some 90% of the jobs in the so-called tech industry.

People really over hype and overrate what kind of work happens at Jane Street or similarly exclusive HFTs. They have their mix of interesting projects and mundane work like any other company.
Post reply on HN