Sign in

🇧🇪 Andy Costanza :nixos:

@costalfy.framapiaf.org.ap.brid.gy
6 followers 1 following 64 posts

Software engineer with a lot of #Java #Spring #SpringBoot #Gradle #linux #nix and #nixos Admin of @darktablefr and darktable.fr Toots retention = 1 year #fedi22 🌉 bridged from ⁂ framapiaf.org/@costalfy, follow @ap.brid.gy to interact

PostsRepliesMedia
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 18m
@silverbulletmd v2.12 released community.silverbullet.md/t/silverb… #silverbullet #pkm
community.silverbullet.md
SilverBullet 2.12: Growing With You
000
Reposted by 🇧🇪 Andy Costanza :nixos:
ploum @ploum.mamot.fr.ap.brid.gy · 26/08/2026
Expérience : un canal #deltachat sur lequel j’annoncerai les nouveaux billets de blog […] [Original post on mamot.fr]
QR code pour rejoindre le canal
113
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 11/08/2026
Le PC #GamePass et les jeux #Xbox PC pourraient bientôt débarquer sur #Linux grâce à #Xodus www.xboxygen.com/News/363896-le-pc-…
xboxygen.com
000
Reposted by 🇧🇪 Andy Costanza :nixos:
ploum @ploum.mamot.fr.ap.brid.gy · 10/08/2026
L’arnaque du bilan carbone Pourquoi nous nous sommes fait avoir dans notre soi-disant lutte contre le réchauffement climatique Et pourquoi il n’existe qu’une solution… ploum.net/2026-08-10-bilan_carbone.…
ploum.net
L’arnaque du bilan carbone
L’arnaque du bilan carbone par Ploum - Lionel Dricot.
329
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 07/08/2026
Déployez #NixOS de manière déclarative avec #deploy-rs youtu.be/8gh4YXi_Cgk?si=2_3y-E5p0D6…
000
Reposted by 🇧🇪 Andy Costanza :nixos:
Liam @ GamingOnLinux @gamingonlinux.com · 03/08/2026
According to Statcounter, Linux on the desktop crossed over 7% globally #Linux #LinuxGaming #LinuxDesktop
gamingonlinux.com
According to Statcounter, Linux on the desktop crossed over 7% globally
Take it with your usual pinch of salt, but Statcounter is showing some impressive growth for the Linux desktop overall globally.
317529
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 02/08/2026
@silverbulletmd 2.10: Enter the MultiSpace — No SilverBullet no.silverbullet.plus/2-10
no.silverbullet.plus
SilverBullet 2.10: Enter the MultiSpace — No SilverBullet
No SilverBullet: notes on building SilverBullet and other things.
000
Reposted by 🇧🇪 Andy Costanza :nixos:
Matt :opensuse: :wayland: @thelinuxcast.fosstodon.org.ap.brid.gy · 30/07/2026
Moved FreshRss, UptimeKuma, Navidrome, and Linkding from docker containers to #NixOS modules on my #homelab. Was astonishingly easy. NixOS may be my new pick for sever distro.
011
Reposted by 🇧🇪 Andy Costanza :nixos:
Jess👾 @jesstheunstill.infosec.exchange.ap.brid.gy · 25/07/2026
Just imagine if we'd invested over a trillion dollars in green energy rather than AI.
10105210
Reposted by 🇧🇪 Andy Costanza :nixos:
Human Coders @humancoders.mastodon.social.ap.brid.gy · 25/07/2026
Cursor Router analyse chaque requête pour la router vers le modèle le plus adapté. Les tâches simples évitent les modèles frontier, les exigeantes les atteignent. En test A/B, 31 à 52 % d'économies sans perte de qualité mesurée. ⬇️ […] [Original post on mastodon.social]
001
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 10/07/2026
@KazukyAkayashi @sebsauvage des idées des channels francophone a suivre sur #deltachat @delta @arcanechat #deltachatchannels
000
Reposted by 🇧🇪 Andy Costanza :nixos:
Steven Saus [he/him] @stevensaus.faithcollapsing.com.ap.brid.gy · 09/07/2026
Windows Drops Under 60% in Global Desktop OS Share for the First Time in Years StatCounter’s June 2026 report shows Linux at one of its strongest recent positions, while Windows falls to 56.55%. Archive: ia: s.faithcollapsing.com/67yu3 […] [Original post on faithcollapsing.com]
StatCounter’s June 2026 data puts Windows at 56.55% worldwide, while Linux reaches 4.39%.
002
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 07/07/2026
RT: vger.to/jlai.lu/post/40199958 youtu.be/w04l2vFH1UY?si=IEKTTemHXkZ…
vger.to
Le piratage des téléphones devient effrayant, comment empêcher ça ?
000
Reposted by 🇧🇪 Andy Costanza :nixos:
Mastodon @mastodon.mastodon.social.ap.brid.gy · 07/07/2026
RE: mastodon.social/@dansup/11687887763… Congratulations to @dansup on the new and improved fediverse.info! Make sure to check it out, and while you're at it, share it with 5 people who haven't joined the #Fediverse yet 👀
21010
Reposted by 🇧🇪 Andy Costanza :nixos:
Osma A 🇫🇮🇺🇦 @osma.fishpool.org · 07/07/2026
Usernames are coming to WhatsApp, so I reserved one for myself.
WhatsApp screenshot

You reserved @switch2signalapp

Soon you can share your username instead of your phone number when connecting with someone for the first time.

We'll let you know when your username is ready to use.
5329
Reposted by 🇧🇪 Andy Costanza :nixos:
Leander Lindahl has moved @leanderlindahl.social.folkdata.se.ap.brid.gy · 04/07/2026
Switch to a European messenger: Delta Chat – a secure decentralised open source messenger from Europe. delta.chat #deltachat
Switch to a European messenger: Delta Chat.

Various silicon valley messenger icons and an arrow pointing towards the delta chat icon, indicating change.
100
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 02/07/2026
en train de tester @delta avec @sebsauvage MP moi si vous voulez m'ajouter sur #DeltaChat
100
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 17/06/2026
et pas un mot sur l'interoperabiliter du réseau... #wsocial www.rtbf.be/article/lancement-de-w-…
rtbf.be
Lancement de W, le réseau social européen : l’Europe peut-elle vraiment concurrencer X (ex-Twitter) ? - RTBF Actus
Il avait été annoncé à Davos comme une réponse européenne à l’hégémonie de X (ex-Twitter), le réseau social...
000
Reposted by 🇧🇪 Andy Costanza :nixos:
Dave Keating @davekeating.substack.com · 16/06/2026
With the US government's ban on foreigners using certain applications of a private American company, the White House has confirmed Europe's worse fears. Trump can shut down the European economy by blocking access to the American services we use every day.
davekeating.substack.com
As Trump bans Europeans from using Anthropic, the EU's US dependence is painfully on display
The US government has ordered Anthropic to block non-Americans from accessing its latest AI models. Europe is running out of time to shield itself from the US kill switch.
124326
Reposted by 🇧🇪 Andy Costanza :nixos:
Eric The IT Guy @itguyeric.mastodon.social.ap.brid.gy · 08/06/2026
Shoutout to the unpaid open source devs holding everything together. You know who you are. We owe you more than a GitHub star. #OpenSource #Linux #SysAdmin #MemeMonday
143
Reposted by 🇧🇪 Andy Costanza :nixos:
Mastodon @mastodon.mastodon.social.ap.brid.gy · 03/06/2026
The @EUCommission just released a statement positioning open source as central to #Europe’s #TechSovereignty. We couldn’t agree more. #OpenSource is critical to a robust and independent society. Here’s our full statement […]
mastodon.social
Original post on mastodon.social
322107
Reposted by 🇧🇪 Andy Costanza :nixos:
Frédéric ⏚ @fdc.mamot.fr.ap.brid.gy · 01/06/2026
"Argent public, code public" : le logiciel libre devient prioritaire, l'Europe veut en finir avec Microsoft dans ses administrations > La Commission européenne élève le logiciel libre au rang d'instrument de politique industrielle, au même titre que les semi-conducteurs. Le CNLL salue […]
mamot.fr
Original post on mamot.fr
005
Reposted by 🇧🇪 Andy Costanza :nixos:
input @feed.igeek.gamer-geek-news.com.ap.brid.gy · 22/05/2026
📰 **This Week in Security: AI Generated Reports, More AI Generated Reports, GitHub Chaos, and More Linux Vulnerabilities** Google’s Project Zero demonstrates a new zero-click exploit for the Pixel 10 phones, showing a full escalation from remote to […] [Original post on igeek.gamer-geek-news.com]
Image for: This Week in Security: AI Generated Reports, More AI Generated Reports, GitHub Chaos, and More Linux Vulnerabilities
022
Reposted by 🇧🇪 Andy Costanza :nixos:
Preslav Rachev @preslavrachev.mastodon.social.ap.brid.gy · 14/05/2026
Yeah, most AI-generated code is mid, but so is the average programmers’. No one's brain is rotting - we are simply not used to being managers - engineering, product, that's all. We are humans, we'll adapt (or not, who knows) […]
mastodon.social
Original post on mastodon.social
101
Reposted by 🇧🇪 Andy Costanza :nixos:
Nicolas Fressengeas @fresseng.universites.social.ap.brid.gy · 08/05/2026
RE: eupolicy.social/@hpod16/11653834471… La Commission Européenne ne fait plus la promotion de X... Et le premier réseau social dans la liste est... 🥁... Mastodon ! Bravo ! Merci ! 🍾👏 #Mastodon #X #SocialMedia #EU #EuropeanCommission #FollowUs
eupolicy.social
011
Reposted by 🇧🇪 Andy Costanza :nixos:
Russell E Taylor III @ret3.mastodon.social.ap.brid.gy · 24/04/2026
MM-DD-YYYY was at the root of YET ANOTHER data problem. Stay in school, don't do drugs, and always use ISO date formats, kids
1115
Reposted by 🇧🇪 Andy Costanza :nixos:
Danie van der Merwe @danie10.mastodon.social.ap.brid.gy · 07/04/2026
PacHub finally lets you manage pacman and the AUR on Arch without touching the terminal “PacHub provides a GTK4/libadwaita GUI for pacman and AUR, so you can avoid the terminal. PacHub can install/uninstall packages, perform upgrades, and provide auto-AUR support via yay or paru. It’s not in […]
mastodon.social
Original post on mastodon.social
022
Reposted by 🇧🇪 Andy Costanza :nixos:
Human Coders @humancoders.mastodon.social.ap.brid.gy · 03/04/2026
Le CERN grave des modèles d'IA minuscules directement dans des puces silicon pour filtrer en temps réel les données du LHC — 40 000 exaoctets par an, des décisions en nanosecondes, et seulement 0,02 % des collisions conservées. ⬇️ […] [Original post on mastodon.social]
Vue rapprochée d'un composant cylindrique en acier inoxydable du Grand Collisionneur de Hadrons (LHC) du CERN, équipé de multiples tuyaux, connecteurs et câbles flexibles tressés, installé dans un hall industriel.
001
Reposted by 🇧🇪 Andy Costanza :nixos:
People > Companies ❤️ - programming.dev [Unofficial] @programming.dev.web.brid.gy · 18/03/2026
programming.dev
Fully decentralised Network: instance = user
submitted by kivarada to programming 15 points | 18 comments Just wanted to ask your opinion before I waste too much time in a new open source project that nobody wants. Lemmy, Mastodon and Co are federated but users are concentrated on a few large instances which somewhat contradicts the original idea. What do you think of a truly decentralised app where each instance is one user. I am aware that there many reasons why this is a bad idea but I would like to hear from you why I should leave it, or encourage me to try it out.
001
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 07/03/2026
youtu.be/VlLf6XBMWoA?si=wVDQuK01H35… merci pour la vidéo @artefr mais avez vous balayé devant votre porte? combien d'employés peuvent utiliser un système d'exploitation libre. quelles sont les logiciels propriétaires qui sont imposés alors qu'ils existent des équivalent #libre et/ou […]
framapiaf.org
Original post on framapiaf.org
111
Reposted by 🇧🇪 Andy Costanza :nixos:
AstraKernel 💫 @astrakernel.bsky.social · 05/03/2026
🦀 Daniel Almeida Interview, Writing a Linux GPU Kernel Driver in Rust youtu.be/rgjTPBRae6I #rustlang #linux
youtu.be
Daniel Almeida Interview, Writing a Linux GPU Kernel Driver in Rust [Rust Project Content]
YouTube video by Rust Programming Language
042
Reposted by 🇧🇪 Andy Costanza :nixos:
Dave Keating @davekeating.substack.com · 03/03/2026
After four days of hesitating, the president of France has joined the prime minister of Spain in saying that the 🇺🇸🇮🇱 attack on Iran is a violation of international law. But they are still the only 2 EU leaders to have done so. Will others join?
politico.eu
US strikes on Iran ‘outside international law,’ says Macron
Macron joins Spanish PM Pedro Sánchez in calling the legality of the strikes into question.
387112232702
Reposted by 🇧🇪 Andy Costanza :nixos:
daniel:// stenberg:// @bagder.mastodon.social.ap.brid.gy · 25/02/2026
This year counts as #curl 30 years, counting from the first httpget 0.1 release in November 1996. I'm thinking we could fly a special logo for the occasion on the #curl front page throughout the year. Maybe *you* can make one that looks festive and still […] [Original post on mastodon.social]
curl logo, 30 years, 1996 - 2026
31516
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 17/02/2026
L'absence d'un équivalent du #CNLL ou de l' @aprilorg : En France, des structures comme le CNLL (Conseil National du Logiciel Libre) ou l'APRIL jouent un rôle de lobbying, de structuration de filière et de visibilité. En #Belgique les équivalents (comme OpenForum Europe ou des initiatives […]
framapiaf.org
Original post on framapiaf.org
000
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 17/02/2026
🐧 Pourquoi si peu d'#ENL (ex-#SSLL) en #Wallonie, alors que la France en regorge ? Est-ce la mutualisation publique, l'absence de politique "libre" claire chez Digital Wallonia ou un marché trop petit pour se spécialiser qui expliquerait cela ? Pourquoi nos #TPE, #PME et nos établissements […]
framapiaf.org
Original post on framapiaf.org
1010
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 17/02/2026
#gentoo move from github to @Codeberg vger.to/toast.ooo/post/12312994 #linux
vger.to
Gentoo Linux Begins Codeberg Migration In Moving Away From GitHub, Avoiding Copilot
000
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 17/02/2026
#linux tools vger.to/piefed.ca/c/linux/p/529159/…
vger.to
'Tiny Linux tools I rely on every day' - Bread on Penguins
000
Reposted by 🇧🇪 Andy Costanza :nixos:
Fabien LOISON (FLOZz) @flozz.mastodon.social.ap.brid.gy · 13/02/2026
Une IA autonome (OpenClaw ?) a fait une PR sur le projet matplotlib. PR qui a été rejetée par un maintainer car ils n'acceptent pas les PR d'IA si y'a pas un humain capable d'expliquer le code dans la boucle. L'IA "n'a pas apprécié" et a ensuite fait des recherches sur sa personne et publié 2 […]
mastodon.social
Original post on mastodon.social
028
Reposted by 🇧🇪 Andy Costanza :nixos:
Street Art Utopia @streetartutopia.mastodon.online.ap.brid.gy · 05/02/2026
I’m waiting for the karma to hit, but these rich bast…. never seem to face any consequences.
32585
Reposted by 🇧🇪 Andy Costanza :nixos:
Liberapay @liberapay.mastodon.xyz.ap.brid.gy · 03/02/2026
Today is the 10th anniversary of Liberapay's launch! In its first decade, Liberapay processed donations worth a total of around 5 million euros, from more than 40k donors in more than 110 countries to more than 3500 recipients in more than 80 countries. Thank you all. To keep making the world […]
mastodon.xyz
Original post on mastodon.xyz
1124
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 03/02/2026
#Firefox désactive toutes ses fonctionnalités d'IA par défaut... mais jusque quand? www.youtube.com/watch?v=iD4LspntEmI
000
Reposted by 🇧🇪 Andy Costanza :nixos:
Liam @ GamingOnLinux @gamingonlinux.com · 02/02/2026
Valheim gets a big birthday update with optimizations, Steam Deck upgrades and new content #Valheim #Linux #Gaming #SteamDeck #SurvivalGame
gamingonlinux.com
Valheim gets a big birthday update with optimizations, Steam Deck upgrades and new content
Valheim is celebrating five years of Early Access with a big upgrade that should make it perform better everywhere, especially on the Steam Deck.
1479
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 31/01/2026
zéro message dans mon feed ce matin 😳 est ce que vous êtes tous au @fosdem ??? 🤔
000
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 30/01/2026
quel travail remarquable effectué par l'équipe de développement de #immich 👏👏👏 linuxiac.com/immich-2-5-released-wi…
linuxiac.com
The team behind Immich, a popular open-source, self-hosted photo and video management platform, has released version 2.5 and is celebrating the project surpassing 90,000 GitHub stars. The main addition is the Free Up Space feature for mobile, which allows users to safely remove local photos and videos already backed up to an Immich server, freeing storage without data loss. The feature includes safeguards such as cutoff dates, preservation of albums and favorites, and a mandatory review step before deletion. Removed files are sent to the device’s native trash, allowing them to be recovered if needed. Immich 2.5 also introduces non-destructive photo editing. Edits such as cropping, rotation, and mirroring are now stored in the database instead of modifying the original files. As you might guess, this lets you revert changes at any time while still allowing edited versions to be downloaded by default. On top of that, backup and restore functionality is now fully supported in the web interface. Users can restore database backups directly from the Immich UI, either through the administration maintenance page or during onboarding of a new instance. Upload handling has been improved, especially on mobile. Foreground uploads are now more reliable due to enhanced concurrency and better support for files with missing extensions. A visual refresh spans the web app, mobile clients, and documentation, introducing a new font designed for better legibility and a more consistent UI component hierarchy. Tooltips have been added to icon buttons to improve usability, and the overall interface aims for a clearer structure across platforms. Additional enhancements in Immich 2.5 include star ratings on mobile, a slideshow loop option on the web, and a new environment variable that allows administrators to disable open admin setup on fresh installs. Finally, on the performance side, Immich now supports progressive JPEGs and uses native HTTP clients for image loading, including HTTP/2 and HTTP/3, resulting in faster image rendering, smoother scrolling, improved caching, and a better offline experience. For more information, see the changelog.
010
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 30/01/2026
Who are using #devstral-small-2 with #Cline plugin on #intellij ? Do you think that they are the perfect combination to replace #Junie ? #java
021
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 29/01/2026
curieux de savoir la proportion de désabonnement depuis l'augmentation des prix du #xbox gamepass 🤔 www.xboxygen.com/News/347730-result…
000
🇧🇪 Andy Costanza :nixos: @costalfy.framapiaf.org.ap.brid.gy · 29/01/2026
Java 26 : Quoi de neuf? www.loicmathieu.fr/wordpress/fr/inf… #Java #Java26
loicmathieu.fr
Java 26 : Quoi de neuf?
Maintenant que Java 26 est features complete (Rampdown Phase Two au jour d’écriture de l’article), c’est le moment de faire le tour des fonctionnalités qu’apporte cette nouvelle version, à nous, les développeurs. Cet article fait partie d’une suite d’article sur les nouveautés des dernières versions de Java, pour ceux qui voudraient les lire en voici les liens : Java 25, Java 24, Java 23, Java 22, Java 21, Java 20, Java 19, Java 18, Java 17, Java 16, Java 15, Java 14, Java 13, Java 12, Java 11, Java 10, et Java 9. Après Java 25 et ses 18 JEPs, Java 26 arrive avec un petit nombre de JEPs, 10, avec très peu de nouvelle fonctionnalités. ## JEP 500: Prepare to Make Final Mean Final Un champ final est censé ne jamais être modifié après son initialisation. Mais hélas, la réflexion profonde (deep reflection) permet de rendre accessible un champ final pour pouvoir ensuite le modifier via la méthode `Field.setAccessible(true)`. Modifier un champs final casse l’intégrité de la JVM car cela contrevient à l’intention du développeur, avec tous les risques de sécurité que cela peut engendrer. De plus, certaines optimisations de la JVM ne peuvent s’appliquer aux champs finaux tel que le _constant folding_ du Just In Time compiler (JIT), une optimisation qui évalue une expression constante une seule fois plutôt que chaque fois qu’elle est utilisée. Les records interdisent déjà la modification de champs finals. La JEP 500 va émettre un warning dans les logs de la JVM la première fois qu’un champ final est modifié via réflexion profonde. WARNING: Final field f in p.C has been [mutated/unreflected for mutation] by class com.foo.Bar.caller in module N (file:/path/to/foo.jar) WARNING: Use --enable-final-field-mutation=N to avoid a warning WARNING: Mutating final fields will be blocked in a future release unless final field mutation is enabled Cela peut être contrôlé via l’option JVM `--illegal-final-field-mutation` qui peut prendre les valeurs : * `allow` : permet la modification de champ finaux. * `warn` : émet un warning dans les logs de la JVM la première fois qu’un champ final est modifié, c’est le comportement par défaut en Java 26. * `debug` : identique à `warn` mais va inclure en plus la stack trace. * `deny` : interdit la modification de champs finaux. Une future release de Java passera le comportement par défaut à `deny`. Il est possible de sélectivement autoriser la modification de champs finaux via l’option JVM `--enable-final-field-mutation=M1,M2` qui prend en paramètre la liste des modules à autoriser. Plus d’information dans la JEP 500. ## JEP 504: Remove the Applet API Supprime l’API des applets qui avait été dépréciée pour suppression en Java 17. Les naviguateurs actuel ne supportent de toute façon plus les applets depuis longtemps. Plus d’information dans la JEP 504. ## JEP 516: Ahead-of-Time Object Caching with Any GC La JEP 483: Ahead-of-Time Class Loading & Linking a introduit en Java 24 la possibilité de créer un cache AOT (Ahead of Time – avant le lancement de l’application) contenant les classes déjà chargées et liées d’une application pour améliorer son temps de démarrage. Celui-ci a été enrichi en Java 25 avec les informations de profiling des méthodes via la JEP 515: Ahead-of-Time Method Profiling. En Java 26, ce cache a été amélioré pour stocker les objets de manière agnostique au GC, permettant un support pour tous les GC, et surtout l’utilisation d’un cache AOT par une JVM utilisant un GC différent de celui utilisé lors de la création du cache. Plus d’information dans la JEP 516. ## JEP 517: HTTP/3 for the HTTP Client API La JEP 517 apporte le support d’**HTTP/3** dans le client HTTP du JDK. Le client HTTP du JDK utilise toujours HTTP/2 par défaut. Pour utiliser HTTP/3 il faut sélectionner cette version lors de la création du client HTTP : var client = HttpClient.newBuilder() .version(HttpClient.Version.HTTP_3) .build(); Plus d’information dans la JEP 517. ## JEP 522: G1 GC: Improve Throughput by Reducing Synchronization **G1** est le garbage collector (GC) par défaut, mais il est parfois moins performant que le **ParallelGC** car pour réaliser une partie de son travail de manière concurrente à l’application, il nécessite de partager les ressources CPU avec les threads applicatifs et de se coordoner avec eux. la JEP 522 augmente à la fois le débit et la latence des applications en réduisant la quantité de synchronisation requise entre les threads d’application et les threads GC. Plus précisément la _write barrier_ de G1 a été modifiée pour ne plus synchroniser sur la _card table_ via l’ajout d’une seconde _card table_. Sans trop rentrer dans les détails, la _write barrier_ est un bout de code appelé à chaque fois que la référence d’un objet est stockée dans un champ, permettant à G1 de tracer les allocations sans arrêter les threads applicatif. Enlever cette synchronisation va réduire le coût de G1 à chaque écriture et donc améliorer le débit de l’application. Plus d’information dans la JEP 522. ## UUIDv7 support La nouvelle méthode `UUID.ofEpochMillis(long)` permet de créer un **UUID type 7** (UUIDv7) depuis un timestamp Unix Epoch. Les UUIDv7 sont créées en attribuant un timestamp Unix en millisecondes dans les 48 bits les plus significatifs, en attribuant la version requise (4 bits) et la variante (2 bits) et en remplissant les 74 bits restants avec des bits aléatoires. La caractéristique principale des UUIDv7 est qu’ils sont monotones (chaque valeur suivante est supérieur à la valeur précédente). Cela est dû au fait que la valeur d’horodatage fait partie de l’UUID. Le grand avantage des UUIDv7 est qu’ils sont naturellement triables ce qui en fait un bon choix pour des identifiants de base de données, comblant une des lacunes des UUID de version précédente. Tout en restant sur 128 bits, donc compatible avec les champs de types UUID précédent. ## Les fonctionnalités qui sortent de preview Les fonctionnalités suivantes sortent de preview (ou du module incubator) et passent en standard : **_Aucune !_** C’est assez rare pour le surligner. Une partie des fonctionnalités qui sont en preview depuis longtemps sont bloquées en attente du projet Valhalla. ## Les fonctionnalités qui restent en preview Les fonctionnalités suivantes restent en preview (ou en incubator module) : * JEP 524 – **PEM Encodings of Cryptographic Objects** : deuxième preview, nouvelle API qui apporte le support du format Privacy-Enhanced Mail (PEM) à Java. Quelques changements dans l’API mais les classes `PEMEncoder` et `PEMDecoder` proposent toujours la même API. * JEP 525 – **Structured Concurrency** : sixième preview, nouvelle API permettant de simplifier l’écriture de code multi-threadé en permettant de traiter plusieurs tâches concurrentes comme une unité de traitement unique. Quelques changements mineurs. * JEP 526 – **Lazy Constants** : deuxième preview, nouvelle API permettant de créer des constante, initializées à la demande. * JEP 529 – **Vector API** : onzième incubation, API permettant d’exprimer des calculs vectoriels qui se compilent au moment de l’exécution en instructions vectorielles pour les architectures CPU prises en charge. Aucun changement. Il a été acté dans la JEP que la Vector API sera en incubation tant que les fonctionnalités du projet Valhalla ne seront pas disponibles en preview. Ce qui était attendu, car la Vector API pourra alors tirer parti des améliorations de performance et de représentation en mémoire que devrait apporter le projet Valhalla. * JEP 530 – **Primitive Types in Patterns, instanceof, and switch** : quatrième preview, ajoute le support des types primitifs dans les `instanceof` et les `switch`, et enrichit le pattern matching pour supporter des patterns de types primitifs : dans les `instanceof`, dans les cases des `switch`, et dans la déconstruction d’un record. Deux changements : amélioration de la définition de l’exactitude inconditionnelle et application de contrôles de dominance plus stricts dans les switch ce qui peut mener le compilateur à rejeter plus de cas qu’auparavant. Pour les détails sur celles-ci, vous pouvez vous référer à mes articles précédents. ## Divers Divers ajouts au JDK : * `Process.close()` : Ferme tous les flux de lecture et d’écriture et attend la fin du processus. De plus `Process` implémente `AutoCloseable` ce qui fait qu’il peut être utilisé dans un **try-with-resources**. * `String.compareToFoldCase()` et `String.equalsToFoldCase()` : implémentation d’`equals` et `compareTo` qui utilisent le **case folding** d’Unicode. * `BigInteger.rootn()` et `BigInteger.rootnAndRemainder()` : Renvoie la racine entière n-ième. * `Duration.MAX` et `Duration.MIN` : durée maximum et minimum supportées. * `Instant.plusSaturating()` : Renvoie une copie de cet instant plus la durée spécifiée, avec une sémantique saturée. Si le résultat est avant MIN, renvoie MIN; si le résultat est après MAX, renvoie MAX; sinon, renvoie `plus()`. * `ThreadLocalRandom.nextGaussian()` : Renvoie un double choisi de manière pseudo-aléatoire à partir d’une distribution gaussienne. * `Comparator.min(Object, Object)` et `Comparator.max(Object, Object)` : retourne le plus petit ou plus grand object entre les deux objets passés en paramètre. * `HttpRequest.BodyHandlers.ofFileChannel()` : Renvoie un `BodyHandler` depuis un `FileChannel`. La totalité des nouvelles API du JDK 25 peuvent être trouvées dans The Java Version Almanac – New APIs in Java 26. ## Des changements internes, de la performance, et de la sécurité Comme toutes les nouvelles versions de Java, OpenJDK 25 contient son lot d’optimisations de performance et d’améliorations de sécurité. Côté performance, pas de gros changement, mais pas mal de tous les petits changements. J’ai noté celui-ci qui améliore les performances de `ArraytList.addAll()` en ajoutant un fast-path au cas où la collection est elle-même une `ArrayList` qui va copier le tableau sous-jacent, plus d’information dans la PR #28116. Côté sécurité je n’ai riens noté pour le moment mais je metterais à jour l’article si nécessaire. ## JFR Events Voici les nouveaux événements Java Flight Recorder (JFR) de la JVM : * `StringDeduplication` : pas de description. * `FinalFieldMutation` : pas de description. Vous pouvez retrouver tous les événements JFR supportés dans cette version de Java sur la page JFR Events. ## Conclusion On reste clairement sur sa faim, cette release apporte très peu de nouvelles fonctionnalités et la plupart des fonctionnalité déjà en preview ou incubator module le restent. On peut quand même noter le support de HTTP/3 et UUIDv7 qui sont les bienvenues pour le développement d’application modernes. Comme toujours, on se languit du projet Valhalla… bien que de nouvelles rumeurs sont sorties et prédisent une inclusion dans Java 28 des premières fonctionnalités liée au project Valhalla qui sont les Value Classes and Objects ! Pour retrouver tous les changements de Java 26, voir les release notes. ### Partager : * Cliquez pour partager sur LinkedIn(ouvre dans une nouvelle fenêtre) LinkedIn * Cliquer pour partager sur Bluesky(ouvre dans une nouvelle fenêtre) Bluesky * Cliquer pour partager sur Mastodon(ouvre dans une nouvelle fenêtre) Mastodon * Cliquer pour envoyer un lien par e-mail à un ami(ouvre dans une nouvelle fenêtre) E-mail * Cliquez pour partager sur Reddit(ouvre dans une nouvelle fenêtre) Reddit * Cliquer pour partager sur X(ouvre dans une nouvelle fenêtre) X * Cliquez pour partager sur Facebook(ouvre dans une nouvelle fenêtre) Facebook * Cliquez pour partager sur Tumblr(ouvre dans une nouvelle fenêtre) Tumblr * Cliquez pour partager sur Pinterest(ouvre dans une nouvelle fenêtre) Pinterest * Cliquez pour partager sur WhatsApp(ouvre dans une nouvelle fenêtre) WhatsApp * Cliquez pour partager sur Telegram(ouvre dans une nouvelle fenêtre) Telegram * Cliquer pour imprimer(ouvre dans une nouvelle fenêtre) Imprimer * Cliquez pour partager sur Threads(ouvre dans une nouvelle fenêtre) Threads * Cliquer pour partager sur Nextdoor(ouvre dans une nouvelle fenêtre) Nextdoor * ### J’aime ça : J’aime chargement… ### _Articles similaires_
011