News for hackers. Stuff that matters.
Re:New scalable, fault-tolerant, and efficient open-source M... by seabird on Monday December 18, 2023 @01:44PM (#38686464)
Java is one of the most widely supported ecosystems available. I'm genuinely curious why throwing in on one of the most successful languages currently in existence warrants "in 2023/2024?".
Re:New scalable, fault-tolerant, and efficient open-source M... by miovoid on Monday December 18, 2023 @03:20PM (#38687629)
Green threads, prevalent in the early 1990s, were utilized by Java in its initial stages but were replaced with native OS threads from JDK 1.2. Revived through Java's Project Loom around 2017, this initiative introduced "fibers" or "virtual threads" for a contemporary lightweight threading approach. Despite years of development, Project Loom hasn't been fully integrated into Java's standard releases. The Java ecosystem, struggling for decades to meet the demands for fault-tolerant, scalable software development, also faces significant memory usage problems, particularly in edge computing or when effectively utilizing cost-effective small virtual machines in clouds. Scylla 10 times faster successor of Cassandra written in C++. These issues compound the criticism of the Java ecosystem, leading to recommendations to avoid it both for developers and users. Opting for Java in greenfield projects in 2023/2024 can be seen as a blatant disregard for the evolution of technology and the current demands of the market, suggesting a profound lack of awareness in modern technological solutions and trends.
Re:New scalable, fault-tolerant, and efficient open-source M... by the_gipsy on Monday December 18, 2023 @01:54PM (#38686603)
All depends in your definition of successful.
Re:New scalable, fault-tolerant, and efficient open-source M... by seabird on Monday December 18, 2023 @07:11PM (#38690156)
It has huge mindshare, a huge amount of libraries and existing solutions, a huge amount of tools, a huge amount of investment in state of the art VMs, and a huge amount of usage in just about every application of computing (save maybe embedded, a particularly weak application for the language, and even then it probably gets used more than it should). There is no metric by which it isn't one of the most prolific and successful programming languages ever made. I don't even like the language or its environment. There's just no point in denying that it is massively successful and very, very likely to fulfill any need you could possibly have, even if the ergonomics aren't great.
Re:New scalable, fault-tolerant, and efficient open-source M... by the_gipsy on Wednesday December 20, 2023 @03:20AM (#38706484)
Sounds like McDonalds - successful, yes, but disgusting.
Re:New scalable, fault-tolerant, and efficient open-source M... by ruliabankovich on Wednesday December 20, 2023 @03:43AM (#38706601)
Dude, try McDonald's in Ukraine. It is so delicious that I can eat it every week. In fact, our company has a Friday as Mcdonald's Day.
Re:New scalable, fault-tolerant, and efficient open-source M... by cvalka on Monday December 18, 2023 @02:15PM (#38686866)
Java is outdated and legacy. Avoid it if you can.
Re:New scalable, fault-tolerant, and efficient open-source M... by assusdan on Monday December 18, 2023 @02:33PM (#38687086)
Actually, it is up-to-date (new features twice a year, some of them, e.g. virtual threads, are truly SotA) and not legacy (things like graalvm and helidon 4 are relatively new and are awesome). Do not avoid Java if your project would benefit from it.
Re:New scalable, fault-tolerant, and efficient open-source M... by cvalka on Tuesday December 19, 2023 @12:15PM (#38698360)
Almost no new project would benefit from Java. Android apps should use Kotlin. Avoid JVM for new projects unless there is no other way.