Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Great, so Java has virtual threads 13 years after C# introduced tasks. Why can't Java introduce useful concepts faster?


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)


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: