The funny thing is that from a purely technological point of view, Java (even the 5-year-old Java 8 and certainly recent versions) is far ahead of most other stuff hyped on HN (as well as less hyped stuff). Virtually no other platform comes close to that combination of state-of-the-art optimizing compilers, state-of-the-art GCs, and low-overhead in-production profiling/monitoring/management. And much of the cutting-e…
> low-overhead in-production profiling/monitoring/management This is a joke, right? The management overhead for the JVM in production environments is huge. It's really hard to get it right.
IT Runs on Java 8
241–250 of 556 posts
Re: IT Runs on Java 8
#242The funny thing is that from a purely technological point of view, Java (even the 5-year-old Java 8 and certainly recent versions) is far ahead of most other stuff hyped on HN (as well as less hyped stuff). Virtually no other platform comes close to that combination of state-of-the-art optimizing compilers, state-of-the-art GCs, and low-overhead in-production profiling/monitoring/management. And much of the cutting-e…
The technology is certainly impressive but it isn't equipped to deal with the modern world. It is trivial to run 10 Node.js applications in the memory of one JVM application. This never used to be a problem, but now the cloud is forcing apps to pay for the resources they use its a kiss of death.
There is also the move to serverless and the slow start of the JVM which makes it literally the worst choice out of all the alternatives.
Oh, and lets not even start on the train wreck of Oracle's stewardship -- Java 11 is competing with Java 8.
Java will survive but I cannot see it having any place in a modern software stack.
Re: IT Runs on Java 8
#243The funny thing is that from a purely technological point of view, Java (even the 5-year-old Java 8 and certainly recent versions) is far ahead of most other stuff hyped on HN (as well as less hyped stuff). Virtually no other platform comes close to that combination of state-of-the-art optimizing compilers, state-of-the-art GCs, and low-overhead in-production profiling/monitoring/management. And much of the cutting-e…
The funny thing is that from a purely technological point of view, Java (even the 5-year-old Java 8 and certainly recent versions) is far ahead of most other stuff hyped on HN (as well as less hyped stuff). The technology is certainly impressive but it isn't equipped to deal with the modern world. It is trivial to run 10 Node.js applications in the memory of one JVM application. This never used to be a problem, but n…
Re: IT Runs on Java 8
#244Earlier quoted context omitted.
> It's an incredibly bad result with many shitty implications that are currently mostly being ignored but could lead to legal nuclear war at any time. I mean, it has been big news, and it has already been nuclear war, with Oracle putting Google in a position to switch android from Dalvik (and successors) to OpenJDK. I agree that it could become a pretty horrible precedent (imagine if Microsoft forbade Sun from implem…
> imagine if Microsoft forbade Sun from implementing Excel functions in StarOffice, or for that matter, if MS were prevented from producing Excel in the first place The things you're talking about are already protected by patents, and the copyrightability of APIs have nothing to do with them. At the very least, for something to be copyrightable it must be some specific fixed expression (a piece of text, image, video…
Re: IT Runs on Java 8
#245The funny thing is that from a purely technological point of view, Java (even the 5-year-old Java 8 and certainly recent versions) is far ahead of most other stuff hyped on HN (as well as less hyped stuff). Virtually no other platform comes close to that combination of state-of-the-art optimizing compilers, state-of-the-art GCs, and low-overhead in-production profiling/monitoring/management. And much of the cutting-e…
Re: IT Runs on Java 8
#246Earlier quoted context omitted.
I suspect that the parent is talking about the JVM's JIT, where it compiles java bytecode into machine instructions after loading the application. This is why the first few requests on a JVM are usually considerably slower than the rest. Parent is obviously exaggerating with the 5000x, and he could have made his point in a different way, but there's some truth to it.
At the same time, JIT can outperform native code in some specific circumstances, since there are certain optimizations which can be proven safe at runtime which can not be guaranteed to be safe at compile time
Re: IT Runs on Java 8
#247I would argue that Hacker News is actually not about the latest in cutting edge technology. Rather, it derives more from the spirit of hacking, fundamentally making computers do something other people thought are not possible to do or never tried. It looks like the latest cutting edge tech but rather its a bunch of people just experimenting. It does not show whats the norm, but what is possible.
Re: IT Runs on Java 8
#248Earlier quoted context omitted.
JDBC is not JEE - it is core Java. Servlets are the original web-container Java spec, independent of JEE. Both are great specs supported by several stable and performant implementations - rock solid tech compared to a lot of the flaky stuff you find advertised today.
How are Java programmers implementing RESTFUL APIs these days?
Re: IT Runs on Java 8
#249Earlier quoted context omitted.
Oracle has a long track record of Sales & Marketing tactics which we can use as a reliable benchmark to predict outcomes. Oracle will likely pursue the most aggressive strategy they can get away with Java. I don't believe Sun was suing Google, but Oracle did. The fact that Google is switching to Kotlin is mostly a means to absolve themselves of the 'Oracle risk' - it's a big change surely, a decision not taken lightl…
Kotlin uses the same VM and API, so it makes no difference in this regard. It's not a big change – it's fully interoperable with Java. You can easily take a single class in a Java application and rewrite it in Kotlin, and everything continues working just as before. Google adopted it because, as they more or less said in the announcement, it was already being adopted by the community and it hugely improved developmen…
This is a problem when you are looking at hiring new people etc . This fragmentation is going cause issues just because people are hedging against Oracle future decisions.
In a perfect world Google should have bought Sun and the current version of Java would look at lot like Kotlin.
Re: IT Runs on Java 8
#250The funny thing is that from a purely technological point of view, Java (even the 5-year-old Java 8 and certainly recent versions) is far ahead of most other stuff hyped on HN (as well as less hyped stuff). Virtually no other platform comes close to that combination of state-of-the-art optimizing compilers, state-of-the-art GCs, and low-overhead in-production profiling/monitoring/management. And much of the cutting-e…
.NET Core is winning a lot of benchmark comparisons now. And one might consider Rust to be more bleeding edge.