News for hackers. Stuff that matters.
Re:Performance of modern Java on data-heavy workloads by wtetzner on Tuesday June 09, 2020 @11:37AM (#23467546)
“Unsuitable” doesn’t mean it can’t be done. Having written a lot of business software in Java, I actually agree it’s unsuitable. The only way I’ve been able to make it bearable is by using Lombok and pcollections.
Re:Performance of modern Java on data-heavy workloads by the_af on Tuesday June 09, 2020 @11:40AM (#23467575)
> I actually agree it’s unsuitable

How so? Performance? Reliability? Verbosity? Which language is suitable in your opinion?

To me this kind of opinion-based... um, opinions... fly in the face of evidence. Java has been used for more than a decade to deploy business software to great success. What more evidence does one need? It'd be like arguing "COBOL is unsuitable for banking".

In the meantime, opinions have shifted on best engineering practices, and Java has naturally run the gamut of all these opinions. And because there are tons of Java systems, there's no shortage of examples of failed/bad projects one could pick on. I wonder how many languages/platforms would have fared better...

Re:Performance of modern Java on data-heavy workloads by wtetzner on Friday June 12, 2020 @01:15PM (#23501404)
"Unsuitable" meaning it's not a great choice. Yes, it's been done a lot (whether or not you can really say "to great success" is another matter, I think).

What I mean is that I think using Java meant the company was required to spend more resources than should have been necessary to accomplish their goal.

BTW, when I say "Java", I mean the language, not the platform. Java-the-platform is very suitable to business software. Java-the-language, less so. Java OOP brings with it a ridiculous amount of incidental complexity, boilerplate, and impedance mismatches. Of course you can make it work, I do it every day. I just think it's a poor choice. It's certainly not the worst choice, and the platform + available libraries is definitely a plus.

And as I mentioned in my original post, there are way to make it more suitable through various hacks (like Lombok) and libraries, but other languages are more suitable out of the box (including other JVM languages).

Re:Performance of modern Java on data-heavy workloads by mrkeen on Tuesday June 09, 2020 @11:51AM (#23467688)
If you liked pcollections, you might also like https://www.vavr.io/