Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror

Comment Re:Loom is the killer feature (Score 2) 56

Universally hated? Put down the crack pipe man. Java is widely used for new projects, especially for modern, microservice based projects of which I've seen many in recent years. It has an extremely large array of libraries and frameworks, excellent documentation, extremely robust tooling, and the language and JVM are continuing to rapidly evolve.

Comment Re:Loom is the killer feature (Score 1) 56

From what I've seen of the early benchmarks, it seems to scale well so I'm not sure how much of an issue that is. Most Java devs simply want to be able to scale their Restful services without having to write reactive/async code. Loom will give them that at almost no cost to the developer other than upgrading the JVM and probably upgrading to a newer version of Spring which is loom friendly.

Comment Loom is the killer feature (Score 5, Interesting) 56

When loom is implemented, it will effectively kill the need for async/reactive/callback style programming to achieve scalability as the cost of blocking will be almost free with virtual threads. Node.js, Spring 5 reactive, Vert.x etc. are all built with async/callback style programming and when loom is integrated into the JDK these will become obsolete technologies as coding synchronous code is much simpler, easier to read and debug than the async/callback hell required now.

Comment Re:If you're optimizing Java, you're sunk (Score 1) 153

Java and Hotspots optimize on the fly. C coders optimize better through runtime analysis and knowing meta-information about the code that a compiler can never hope to know.

What do you think hotspot does??? It does runtime analysis. You can even set the compile threshhold...i.e. execute 1000 times before compilation, or wait longer for a better compile.

See this:

".... Also, profile data is collected by the interpreter for guiding the optimizations."

here:

http://java.sun.com/developer/community/chat/JavaL ive/2005/jl0315.html

So it DOES do runtime analysis optimization. C code can only be optimized for certain scenarios, whereas hotspot adapts and will de-compile and re-compile as the state of the program changes.

Slashdot Top Deals

I've got a bad feeling about this.

Working...