Andrea Mattavelli
amattavelli.bsky.social
Andrea Mattavelli
@amattavelli.bsky.social
Monday hater, food lover.
Software Engineer Lead.
http://andreamattavelli.github.io
Reposted by Andrea Mattavelli
by the age of 30 you should have at least 5000 PDFs in your downloads folder
April 4, 2025 at 9:07 PM
Reposted by Andrea Mattavelli
Today we are releasing Graal Languages v24.2! 🎉.

This release brings a Gradle plugin for GraalPy, scaling native Python across Java threads, Continuation API in Espresso, Truffle Bytecode DSL, and more!

What's new: medium.com/graalvm/what...

The release notes: www.graalvm.org/release-note...
What’s new in Graal Languages 24.2
Today, along with GraalVM for JDK 24, we are releasing version 24.2 of Graal Languages. This version is designed for use with GraalVM for…
medium.com
March 18, 2025 at 4:00 PM
Reposted by Andrea Mattavelli
Happy java 24 day to those who celebrate!
March 18, 2025 at 4:04 PM
Reposted by Andrea Mattavelli
I have just merged into Spring Framework main branch a first-class support for programmatic bean registration for Java and Kotlin. Will be part of the upcoming Spring Framework 7.0.0-M3.
Programmatic Bean Registration :: Spring Framework
docs.spring.io
March 6, 2025 at 6:53 PM
Reposted by Andrea Mattavelli
It's not only a syntaxic sugar. Using var with an anonymous class gives you access to the non-denotable type, its methods, and its fields.
Probably the hardest habit for me to change moving from Java 8 to 21 is forgetting to use "var" for variable declarations. I find myself forgetting about it and writing out full types constantly (aided by IDE of course). I predict it will take a long time before it becomes natural.
March 7, 2025 at 7:14 AM