News for hackers. Stuff that matters.
Re:Java is better than C++ for high speed trading systems by patrec on Thursday November 26, 2020 @03:02AM (#25217918)
Sure, as long as your non-garbage-collected language from ten years ago had memory safety (and general lack of UB footguns), first class IDE support, excellent introspection and profiling facilities and a large potential hiring pool of elite programmers and wide acceptance in the industries you were trying to sell into.
Re:Java is better than C++ for high speed trading systems by fishermanbill on Thursday November 26, 2020 @10:54AM (#25221040)
Why is it you think most major programs are built using C++? Most OS's, most drivers, most browsers, most games, most major applications, most compilers, most servers etc etc.
Re:Java is better than C++ for high speed trading systems by patrec on Thursday November 26, 2020 @12:48PM (#25222097)
C++ completely dominates games, browsers (and a few things you don't list, such as competitive programming). It is certainly not marginal in the other areas you list either, but were do you get the weird idea that most operating systems and drivers are written in C++ (let alone most compilers, servers or "major applications")? Unix has completely won the OS market (what percentage of OS installs these days are unix derivatives? 99%+?) and I can't think of a single one that is predominantly or at all written in C++. Apart from lacking a browser, I'd be surprised if you couldn't run a fully functional linux desktop after deleting every single C++ application and library on your system.
Re:Java is better than C++ for high speed trading systems by thu2111 on Thursday November 26, 2020 @12:37PM (#25222008)
Most servers, definitely not.

Consider that large chunks of Google, Twitter, Amazon, Alibaba etc run on Java.

Re:Java is better than C++ for high speed trading systems by taneq on Thursday November 26, 2020 @10:16AM (#25220684)
Wait, are we still comparing C++ with Java here?
Re:Java is better than C++ for high speed trading systems by patrec on Thursday November 26, 2020 @12:24PM (#25221881)
Yes? If you write zero or low allocation code in Java you pay a price for working against the language and you also lack several tools for writing fast code that C++ provides you with (as well as a bunch of useful abstractions), but your development experience will obviously be much better on a number of other dimensions.