I never thought I would be excited for a new release of Java, but ever since Java 21, I have grown to actually enjoy writing the language. Whomever is running it has really done a good job making the language actually fun to write in the last few years.
I just hope with new lightweight threads I never have to write async reactive code again. It was a such an unproductive mistake, most applications do not need that level of complexity - now we can confidently say no applications need that level of added complexity.
The biggest problem with Java these days is java developers are not really good at all. I would say n the last 10 years 99 percent of "Java" devs cant competently read a stack trace.
Im not sure why anyone would improve this language when the developers are so frankly pathetic. Let them use 1.8. The ecosystem has improved. Devs have gotten worse.
Java has become a land of opportunists just trying to pass of their non-Java maybe non-programmer skills
CPU-time would over-emphasize regions where many threads are running, right?
I find wall-time useful for finding serial regions that aren't yet parallelized.
12 comments
[ 3.1 ms ] story [ 46.4 ms ] threadFor CPU tracing, with no sampling errors, use Apple’s M4 with the latest Xcode’s Instruments.
Im not sure why anyone would improve this language when the developers are so frankly pathetic. Let them use 1.8. The ecosystem has improved. Devs have gotten worse.
Java has become a land of opportunists just trying to pass of their non-Java maybe non-programmer skills
More detail here: https://github.com/dvyukov/perf-load. We recently implemented the same idea without requiring context-switch events: https://github.com/google/highway/blob/master/hwy/profiler.h...