generics

Tag

Cards List
#generics

C3 0.8.2 a Modest Improvement

Hacker News Top · 4d ago Cached

C3 0.8.2 is a modest update to the C3 programming language, adding reusable target templates for libraries, reflection for generics, bitstruct properties, new @param options, and various bug fixes.

0 favorites 0 likes
#generics

GC shape stenciling in Go generics

Hacker News Top · 2026-07-12 Cached

An in-depth explanation of how the Go compiler implements generics using GC shape stenciling, comparing it to Rust's full monomorphization and Java's type erasure.

0 favorites 0 likes
#generics

Only Bounds

Lobsters Hottest · 2026-06-09 Cached

This blog post introduces 'only bounds', a proposed improvement to Rust's generics system that replaces the current Sized/?Sized hierarchy with a richer set of sizedness traits to accommodate dynamically sized types and ARM's Scalable Vector Extension.

0 favorites 0 likes
#generics

Notes from Optimizing CPU-Bound Go Hot Paths

Hacker News Top · 2026-05-12 Cached

The article discusses performance optimization techniques for CPU-bound Go code, highlighting the limitations of generics and interface abstractions due to lack of inlining, and advocates for code duplication in hot paths. It provides examples from a Brotli port and deep-dive benchmarking.

0 favorites 0 likes
← Back to home

Submit Feedback