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