19 ms·
Java 21+ (virtual threads).
by mrudolph22 2y ago
Java 21+ (virtual threads).
- pjmlp 2y agoJava already did it in the past, that is why we have the notion of green threads versus red threads. What virtual threads bring to the table is that now they are both officially supported, with APIs for both cases, while previously it was an implementation detail of each JVM how threading was actually done.