News for hackers. Stuff that matters.
Re:Generics aren't ready for Go by tedunangst on Monday February 18, 2019 @05:19PM (#19195010)
> Java also lacks green threads.

So weird. Java used to only have green threads. The very name, "green threads", comes from the fact that's what the JVM called them. Literally invented the name.

Re:Generics aren't ready for Go by spion on Monday February 18, 2019 @10:13PM (#19196343)
Too bad they were removed. I don't see why a non-system language should use anything other than green threads nowadays.
Re:Generics aren't ready for Go by pjmlp on Tuesday February 19, 2019 @01:55AM (#19197158)
Because Java also runs bare metal and in those scenarios, it is indeed a systems language.

The HN community is too focused on OpenJDK/Oracle when talking about Java, when there are as several JDKs toolchains across the industry, some with very specialized deployment scenarios.

Re:Generics aren't ready for Go by spion on Thursday February 28, 2019 @08:18AM (#19271109)
The lesson from that being, the extreme of "write once run anywhere" is not necessarily a good idea. Sometimes its best to implement specialized libraries and runtime (green threads) for specialized environments (servers) that are not available in others.