Can C

High-level programming concepts expressed in C.

Porting Go's strings package to C

With allocators, benchmarks, and some optimizations.

Porting Go's io package to C

Interfaces, slices, multi-returns and alloca.

Solod: Go can be a better C

A subset of Go that transpiles to regular C, with zero runtime.

Allocators from C to Zig

Exploring allocator design in C, C3, Hare, Odin, Rust, and Zig.

(Un)portable defer in C

Eight ways to implement defer in C.

Interfaces and traits in C

Implemented with structs and function pointers.