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
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