Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
DeathArrow
· 3y ago · 0 comments
Great, so Java has virtual threads 13 years after C# introduced tasks. Why can't Java introduce useful concepts faster?
Comments
[–]
shellac
3y ago
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
3y ago
Java had green threads in Java 1.1 (February 1997), C# 1.0 was released in January 2002...