#Java19 is gonna be an amazing release 🤩 - the most break-through in a few years and probably for a few years to come. Here's why, from least to most groundbreaking feature (IMHO). 🧵 (If you want to follow up on something, the video description has tons of links.)
#Java19 is gonna be an amazing release 🤩 - the most break-through in a few years and probably for a few years to come. Here's why, from least to most groundbreaking feature (IMHO). 🧵 (If you want to follow up on something, the video description has tons of links.)
Vector API (4th incubator) Allowing reliable compilation to CPU vector instructions ("SIMD") is a great performance improvement for arithmetic-heavy code like image processing or machine learning. This API is mature, but needs to wait for Valhalla for final touches. 😕
Pattern Matching in Switch (3rd preview) Brings switch improvements, patterns, and sealed classes together, so we can finally use pattern matching. #Java19 doesn't finalize but makes progress (on null handling and case refinement) and I hope it's the last preview.
@nipafx Won't there be any problem with many many objects allocated? Or it's just assumed, that gains from vectorized reading will be higher than (de-)allocation+GC overhead? Everything looks ok, just wondering if it won't become a bottleneck in hotpath