Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
DeathArrow
on March 16, 2023
|
parent
|
context
|
favorite
| on:
Guide to Java Virtual Threads
Great, so Java has virtual threads 13 years after C# introduced tasks. Why can't Java introduce useful concepts faster?
shellac
on March 16, 2023
|
next
[–]
The java equivalent of task is probably Future or CompletableFuture, which have been in java since 2012 / 2014. In terms of running them, Executors have been there since 2014.
(Obviously this would have been 1:1 with OS Threads)
pulse7
on March 16, 2023
|
prev
[–]
Java had green threads in Java 1.1 (February 1997), C# 1.0 was released in January 2002...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: