Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Explore BestHub

#jdk19

RSS feed
Follow or choose interest 7-day signal and related keywords

Latest articles

5 articles in the current browsing window, ordered by publication date.

How to Call Native C Functions from Java with Project Panama (JDK 19) – A Step‑by‑Step Guide

This article introduces Java's Project Panama foreign function and memory API, showing how to use JDK 19 to call native C code from a simple Hello World program, covering linker setup, symbol lookup, function descriptors, memory sessions, and method handles with practical code examples.

Why Java 19 Virtual Threads Outperform Traditional Threads and Go Goroutines

This article introduces Java 19's virtual threads, compares their performance and scheduling with traditional platform threads and Go goroutines, provides practical code examples, benchmark results, and migration guidelines, and explains the underlying M:N scheduling mechanisms that make virtual threads more efficient for high‑concurrency, I/O‑bound workloads.

What’s New in JDK 19? Explore 7 Preview Features Boosting Java Performance

JDK 19 introduces seven preview JEPs—including Record Patterns, a Linux/RISC‑V port, the Foreign Function & Memory API, Virtual Threads, the Vector API, Pattern Matching for switch, and Structured Concurrency—offering developers powerful new tools to write more efficient, modern Java code.

Up to 500 articles, 100 per page. The archive offers another way to explore older articles.