News for hackers. Stuff that matters.
Re:Running Linux on My MacBook by bitcharmer on Monday June 08, 2020 @11:41AM (#23457518)
> it's still slow and painful in comparison to compiled languages

Something tells me your opinion about Java is stronger than your experience. Java IS a compiled language. It just happens at runtime. https://www.oracle.com/technical-resources/articles/java/arc...

I see this as yet another example of people here repeating a severely outdated statements about the JVM ecosystem.

Re:Running Linux on My MacBook by jki275 on Monday June 08, 2020 @12:05PM (#23457785)
Sure. Of course Oracle wants you to believe that Java is faster than C.
Re:Running Linux on My MacBook by bitcharmer on Monday June 08, 2020 @12:38PM (#23458116)
Java has been broadly used in HPC and low-latency trading software for years now. That's not only because much more attractive time-to-market but also because in many cases Java is on par with c/cpp when it comes to performance. Sometimes even better.

I'm under the impression that you are not interested in educating yourself on the topic, however if I'm mistaken, have a look at some reasons why Java can be as fast or faster than c/cpp:

- TLAB (thread-local allocation buffer)

- Escape analysis

- Mono- and bi-morphic callsite optimizations

- JIT in general (dead code elimination, implicit null checks, CHA-based optimizations, etc).

Also, you don't have to use Oracle JVMs. There's IBM's J9, OpenJDK-based Zulu, or commercial JVM from Azul (Zing).

Re:Running Linux on My MacBook by jki275 on Monday June 08, 2020 @12:52PM (#23458250)
I've used Java in the enterprise plenty. Not a fan. And no, it's really never faster than properly written C/C++.

And no, the actual HFT stuff is written in C++.

Re:Running Linux on My MacBook by bitcharmer on Monday June 08, 2020 @12:58PM (#23458315)
> And no, the actual HFT stuff is written in C++

This is how I know you have no idea what you're talking about.

Source: been working on low-latency HFT Java apps for shops like Goldman Sachs, Morgan Stanley, UBS and others for 10+ years.

Not going to reply any more. Not worth it.

Re:Running Linux on My MacBook by jki275 on Monday June 08, 2020 @01:26PM (#23458594)
Of course you have.

Not worth it, indeed.