News for hackers. Stuff that matters.
Re:Running Linux on My MacBook by jki275 on Monday June 08, 2020 @08:35AM (#23455940)
Linux on the desktop "works" today just like it did twenty years ago -- painfully and with a lot of work to work around the operating system's inability to be a desktop OS.

Same thing with Java. Sure, it's not as slow as it was 20 years ago, but it's still slow and painful in comparison to compiled languages.

I've used Linux actively for 30 years or more, and I've never had a "great experience" once with it. It's a tool that I have to beat into submission to get it to do whatever ridiculous workflow someone dreamed up that can't be done on a real operating system.

Re:Running Linux on My MacBook by craigsmansion on Monday June 08, 2020 @10:54AM (#23456996)
> I've used Linux actively for 30 years or more

"The Linux kernel was conceived and created in 1991"

Re:Running Linux on My MacBook by jki275 on Monday June 08, 2020 @12:03PM (#23457766)
29, whatever. When you've been doing this as long as I have the years run together.
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.