2 ms·
That's an incredible arrogant and close minded way to think about software. There are plenty of domains where every extra % of performance matters. Video games,
by rowanG077 5y ago
That's an incredible arrogant and close minded way to think about software. There are plenty of domains where every extra % of performance matters. Video games, HFT, robotics etc.
- yawaramin 5y agoYeah, that's why I asked, who cares? If you care about it, then obviously you need it. Also, https://news.ycombinator.com/item?id=28283376 https://news.ycombinator.com/item?id=28283376
- gopiandcode 5y agoEven in these domains people still balance performance against the expressiveness of the language, or else why wouldn't everyone write their games/HFT/robotics in assembly for that "bare metal" performance? For example, many popular game engines provide C# scripting engines _even though_ using a garbage collected language (even just for scripting) is slow (and throwing away % of performance) because the performance is _good enough_ for their usecases.
- rowanG077 5y agoThat's because scripts in a game are not usually a performance bottleneck if kept to best practices. And you can bet your ass both unity and unreal have some ASM in their guts.
- gopiandcode 5y agoYes, my point exactly, and in the places where people use OCaml, the overhead from not monomorphising generics isn't a performance bottleneck.
- rowanG077 5y agoThat's a self fulfilling prophecy. Of course OCaml isn't used there... Because it can't hit the performance target.
- jcelerier 5y agoExactly, I mainly work on a C++ software and for my PhD rewrote all the core algorithms in OCaml... Boy that was slow, I'm never ever touching that language again for anything that needs peak performance.
- scns 5y agoWell, Jane Street do HFT in OCaml.