Let's delve into the concept of structured concurrency, compare it with the current API, and explore the problems it solves.
#uncoverJava #java21 #java #structureedconcurrency
https://softwaremill.com/structured-concurrency-and-scoped-values-in-java/
#uncoverjava #java21 #java #structureedconcurrency
Project Loom + Quarkus = 💡
Discover the current potential of Project Loom with the help of Quarkus application benchmark!
#uncoverjava #projectloom #quarkus #java21 #jdk21 #jvm
Java 21 is right around the corner! Who's considering an upgrade before the year wraps up? 🚀
Great video (from a great channel): https://youtu.be/5jIkRqBuSBs?si=U3eNqQtQfW3gbJDW
Final release candidate for Java 21 before GA in 2 weeks.
https://openjdk.org/projects/jdk/21/
#java21 #java #openjdk
Java 21の新機能をざっくりまとめてみた
https://qiita.com/taichikanaya_1989/items/ec671ebbbb16f2315992?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
#qiita #Java #Java21
"JDK 21 is in Rampdown Phase Two. The overall feature set is frozen. No further JEPs will be targeted to this release."
https://openjdk.org/projects/jdk/21/
Features (previews omitted):
- JSR 431: Sequenced Collections
- JSR 439: Generational ZGC
- JSR 440: Record Patterns
- JSR 441: Pattern Matching for switch
- JSR 444: Virtual Threads
- JSR 449: Deprecate Windows 32-bit Port
- JSR 451: Prepare to Disallow the Dynamic Loading of Agents
- JSR 452: Key Encapsulation Mechanism API
#java #jdk #jdk21 #java21
RT @java There’s a new brew coming. ☕
#NationalCoffeeMonth wouldn’t be the same without some Java in the mix. With #Java21 on the horizon, what are you excited to see in the latest release?
At work, I maintain a #java app with #JavaEE backend and #vue2 frontend. It's #java17 already, #JakartaEE will shortly follow due to the #ApacheShiro 2.0 update. It runs on #Java20 so it will be ported to #java21 soon!
However, that's only half of my job. The other is: making Java, web- and appservers ready for deployment, hardening everything, creating scripts for automation and deployment, a few other Java apps...
... I love it, and I have never seen a similar job description in my life!
#java21 #java20 #apacheshiro #jakartaee #Java17 #vue2 #javaee #java
Wednesday Links - Edition 2023-06-14
https://dev.to/0xkkocel/wednesday-links-edition-2023-06-14-3oj0
#java #jvm #documenation #java21
#java #jvm #documenation #java21
RT @Sharat_Chander #Java developers.
The final list of #Java21 features is complete.
Along with thousands of improvements, Java 21 has 16 #JEPs including Generational ZGC, Record Patterns, Pattern Matching for switch, Virtual Threads, and more: https://openjdk.org/projects/jdk/21/
Instance Main method #java21
https://twitter.com/CarlosChacin/status/1665448779703517189?s=20
Coming up in #Java21: Emoji APIs 👏🎉🍾
System.out.println(Character.isEmoji("😄".codePointAt(0)));
"Sure, but what have you done for me *today*?" :P
---
RT @nextjavarelease
#Java #JDK21
181 more days until #Java21 is released on 2023-09-20 (estimated)
⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜ 1%
https://twitter.com/nextjavarelease/status/1638963858521079808
Pure practice would normally not be over a populated area.
This really does look like it was a flyover for a sporting event. (I think the NASCAR season is starting there for some reason.)
Shortly after this screenshot it passed directly over the Los Angeles Memorial Coliseum.
Project Panama
"improve and enrich the connections between the JVM and well-defined but 'foreign' (non-Java) APIs"
In 2022:
* progressed on vector API
* previewed foreign function and memory (FFM) APIs
* made jextract independent
In 2023:
* gather more feedback on to get timely and safe deallocation absolutely right
* work towards more linker options, e.g. to pass heap segments to native calls
* improve jextract, e.g. support for capturing errno
A finalization in #Java21 is possible.
Project Loom
"support easy-to-use, high-throughput lightweight concurrency"
In 2022:
* previewed virtual threads
* incubated structured concurrency and scoped values
Watch @JosePaumard's video on scoped values: https://www.youtube.com/watch?v=fjvGzBFmyhM
In 2023:
* work towards finalization of these features (I see a chance for finalized virtual threads in #Java21 but not for the APIs)
* work towards synchronization and file I/O (on Linux, with io_uring) no longer pinning virtual threads to carrier threads