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

Ok, thanks for the clarification. I wonder if there are situations in big teams in which one team that uses generics can take a look at a large Go codebase within the same company and see what they think? They must have received such feedback at Google, surely?


Most probably. But they might ignore it anyway.

There's at least one high profile example: the standard library itself. It must have been obvious by the time they designed the standard library, before the language was out. They had to have feedback then, just look at the trail of rage against the absence of generics.

They ignored it then —I have no idea why. I'm not sure they'll listen now.


This was when I kind of lost interest, as it became clear generics would never happen.

In the early days I was enthusiastic enough that I tried to provide support for the os.user implementation on Windows.

Nowadays I just advocate Go for C use cases, where the use of a tracing GC is not an hindrance as a way for us to enjoy safer computing.

Oh, and the code of the new syncmap.Map is full of unsafe.Pointer as workaround for lack of generics, while achieving good performance.

https://github.com/golang/sync/blob/master/syncmap/map.go




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

Search: