← Back to context

Comment by kelnos

2 days ago

Virtual threads is a JVM & stdlib feature, not a language feature.

(And I'd disagree that virtual threads were all that important compared to language features.)

In pretty common applications, virtual threads will make the difference between chaining futures (this.then(that).then(...)) vs not, all throughout your code. Or some frameworks had far uglier ways to deal with cooperative multitasking.