Java articles
237 subscribers
245 links
Channel providing you with the Java and software development industry related content
Download Telegram
Concurrent programming: Two techniques to avoid shared state
Most certainly the more you learn about multi-threaded programming, the harder it gets. Coordinating multiple threads modifying the same data is complicated. In the following article, you are going to explore two techniques that can help you: Copy before modification and Asynchronous modification using a single thread.
#java #concurrency #middle
http://vmlens.com/articles/cp/2_techniques_to_avoid_shared_state/
Immutable Collections In Java – Not Now, Not Ever
In JDK terminology, immutable and unmodifiable have shifted over the last few years. At first, the term immutable was used for the collections returned by Java 9’s collection factory methods. But will a method that prints all elements in an immutable collection always have the same output? Yes? No? What’s An Immutable Collection? Is immutability a feature? Can Unmodifiable And Immutable Collections Be Retrofitted? Find out now!
#java #jvm #jdk #architecture #middle
https://blog.codefx.org/java/immutable-collections-in-java/
Java, Today and Tomorrow by Mark Reinhold
What’s new in Java today, and what’s coming to Java tomorrow? We’ll start with a review some of the recent additions to the language and the platform. We’ll then look ahead and demonstrate some of the features currently in development in the Amber, Loom, Panama, and Valhalla projects. All of these features will continue to improve both developer productivity and program performance while retaining Java’s core values of readability, generality, and compatibility.
https://www.youtube.com/watch?v=kpio9jFhpD8
#java #video