Tagged articles

generic containers

2 articles · Page 1 of 1
TonyBai
TonyBai
Jul 16, 2026 · Backend Development

Go 1.28 Roadmap Revealed: Will Cgo Drop the C Toolchain? Are Generic Containers Joining the Stdlib?

The article dissects the Go 1.28 planning notes, detailing upcoming compiler memory‑free mechanisms, pre‑compiled Cgo support, revived generic containers, SIMD extensions, Wasm stack‑switching, structured struct tags, sharded counters, and GC scalability work, while explaining the motivations, trade‑offs, and open questions behind each proposal.

CgoCompilerGo
0 likes · 25 min read
Go 1.28 Roadmap Revealed: Will Cgo Drop the C Toolchain? Are Generic Containers Joining the Stdlib?
Baidu Geek Talk
Baidu Geek Talk
Feb 1, 2023 · Backend Development

Practical Generic Programming Techniques in Go Language

This article explains Go 1.18 generics—type parameters, type‑set interfaces, and inference—through six practical examples including a universal sorting function, generic Append, heap, sync.Pool and sync.Map wrappers, showing how generics reduce code size, improve readability, and enhance type safety.

Go 1.18Go genericsType Constraints
0 likes · 22 min read
Practical Generic Programming Techniques in Go Language