Tagged articles
5 articles
Page 1 of 1
macrozheng
macrozheng
Sep 28, 2022 · Backend Development

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.

GoVirtual Threadsconcurrency
0 likes · 22 min read
Why Java 19 Virtual Threads Outperform Traditional Threads and Go Goroutines
Programmer DD
Programmer DD
Sep 22, 2022 · Backend Development

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.

foreign function APIjdk19preview features
0 likes · 6 min read
What’s New in JDK 19? Explore 7 Preview Features Boosting Java Performance