Java, Kotlin and the JVM
25 subscribers
20 photos
2 videos
117 links
Java, Kotlin, Gradle, Maven, JDKs, Spring and the whole JVM ecosystem tips & tricks. 🇪🇸 & 🇬🇧
Download Telegram
A new chapter for Kotlin and good opportunities for Kotlin developers

Today we are excited to release Kotlin 2.0 with a stable K2 compiler, which is multiplatform from the ground up, understands your code better, and compiles it twice as fast.

https://blog.jetbrains.com/kotlin/2024/05/celebrating-kotlin-2-0-fast-smart-and-multiplatform/
Gradle is very powerful tool but it comes with a price in the learning curve. Declarative gradle was introduced a year ago or so (https://blog.gradle.org/declarative-gradle). Last week the Gradle CTO chat a bit about the state of the art and the future of Declarative Gradle (https://youtu.be/xZRR71VtmGc?t=752)
We continue with Kafka today; New Relic is an observability vendor, and the article highlights the need for observability. Besides that, the article provides a good example of common Kafka issues depending on your producer/consumer patterns, which I found really interesting.

https://newrelic.com/blog/how-to-relic/tuning-apache-kafka-consumers
The Gradle team is excited to announce Gradle 8.8.

Gradle now supports Java 22.

This release introduces a preview feature to configure the Gradle daemon JVM using toolchains and improved IDE performance with large projects.


https://docs.gradle.org/8.8/release-notes.html
Java 22 has been around since March! This article doesn't bring any news but I likes the way they sumarized the release content (see picture) and how they explained the lifecycle of JEPs

https://www.unlogged.io/post/everything-you-need-to-know-about-java-22?ref=dailydev
Interesting post regarding JDK git workflow

In June and December, we fork
the main line into a stabilization repository [1]. Changes are backported
from the jdk repository into the stabilization repository, typically by the
Committer who contributed the change [2]. The stabilization repository is
archived when the release is delivered.

We inherited the convention of forking repositories from Mercurial, which
originally had weak support for branches.


https://mail.openjdk.org/pipermail/jdk-dev/2024-March/008834.html