mstdn.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A general-purpose Mastodon server with a 500 character limit. All languages are welcome.

Administered by:

Server stats:

15K
active users

#Java

130 posts101 participants3 posts today

You know what’s cool? Designing #Java #APIs that don’t break the moment your app grows.
Also cool? #JCON2025, according to Steve Poole—and he knows a thing or two about writing code that lasts.
In his talk on Resilient API Design, Steve covers versioning, #flexibility, evolution, and all the little Java quirks that separate "it works" from "it lasts."

If your API is public, this session is personal.

🎟️ 2025.europe.jcon.one/tickets

☕ Just recently my latest contribution got merged: #java 25 will contain the new API `CharSequence::getChars()` which allows to pull a long range of characters into a given array. 🚀

This performs MUCH faster than pulling byte-by-byte. The API ever existed for String and StringBuilder, but now you can do it with ANY CharSequence - even with fancy customs ones or with off-heap buffers!

github.com/openjdk/jdk/pull/21

This Pull Request proposes an implementation for JDK-8343110: Adding the new method public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) to the CharSequence interface, providing...
GitHub8343110: Add getChars(int, int, char[], int) to CharSequence and CharBuffer by mkarg · Pull Request #21730 · openjdk/jdkBy mkarg