News for hackers. Stuff that matters.
Re:Hacking the Golang Runtime with Genereics by barsonme on Wednesday December 21, 2022 @03:10AM (#34077967)
The maphash package from the blog post provides routines that call into Go's runtime to hash arbitrary types.

The maphash package in the standard library (hash/maphash) provides routines that hash string and []byte.

The builtin map type is a hash table.

Re:Hacking the Golang Runtime with Genereics by shp0ngle on Wednesday December 21, 2022 @12:24PM (#34083543)
Ahh I somehow misread the post and thought it’s a generic map that uses hash table.

I should get some sleep, thanks