Hacker News new | past | comments | ask | show | jobs | submit login

No, it is same reasoning as Java not needing dense memory layouts



Work on Valhalla is not funded as a joke though. They are working on that one.


Ofcourse. The point was about above snarky comment. Go devs took time to implement generics balancing with competing priorities. Java devs taking time to implement value types balancing their competing priorities.


From 1996 point of view it seemed it was a correct decision from the language landscape with Java coming from Smalltalk and Objective-C heritage, where 9 years later all languages had generics, except one created by the same authors of Go, and their newly born language.

Also there have been extensions, and the work to fix it goes back to 2014, after escape analysis proving not being good enough, with IBM and Azul having their own extensions for value types.

Even Dart down the corridor got generics first, during the years they weren't needed for Go.


All said and done it is basically: "There is a nuance when people I like do not do desired thing and excuse when people I don't like do not do same desired thing"


No, Java folks never denied they were eventually needed, in fact IBM has had the object layout extension on their implementation for almost a decade now.


And Go folks denied generics need? LOL. Go hate is blinding your reasoning.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: