Tagged articles

maphash

3 articles · Page 1 of 1
Tech Musings
Tech Musings
Apr 10, 2026 · Fundamentals

Why Go’s New Hasher[T] Interface Redefines Safe Generic Hashing

Go’s 2025 addition of the generic Hasher[T] interface to hash/maphash standardizes safe hashing by embedding a random seed throughout recursive calls, resolves previous design flaws, and provides clear guidelines for custom hashers, comparable types, and practical applications such as Bloom filters, all while ensuring performance and correctness.

BloomFilterHashinggenerics
0 likes · 18 min read
Why Go’s New Hasher[T] Interface Redefines Safe Generic Hashing
Radish, Keep Going!
Radish, Keep Going!
Oct 8, 2025 · Backend Development

Why Go’s New Hasher[T] Interface Could Revolutionize Custom Collections

The article explains the Go 1.26 proposal introducing a standard Hasher[T] interface for custom hash and equality logic, outlines its definition, showcases practical examples, compares existing library approaches, and discusses the long‑term benefits and challenges for the Go ecosystem.

Hashercustom __hash__generics
0 likes · 13 min read
Why Go’s New Hasher[T] Interface Could Revolutionize Custom Collections
BirdNest Tech Talk
BirdNest Tech Talk
Nov 24, 2024 · Fundamentals

Why Go’s maphash Beats Traditional Hashes: Deep Dive and Benchmarks

The article explains hash algorithm fundamentals, compares common hashes, presents extensive Go benchmark results across multiple data sizes, highlights the superior performance of Go's maphash (memhash) implementation, and shows how to access it via linkname and assembly details.

Hashbenchmarkcryptography
0 likes · 17 min read
Why Go’s maphash Beats Traditional Hashes: Deep Dive and Benchmarks