Carbon values, variables, and pointers

13 points by matklad


matklad

Context: I find this fascinating as it's a pretty deep exploration of a thorny language design problem in systems programming space: how to make sure that a generic function like fn f<T>(x: T) uses optimal ABI for passing x in, depending on T and the target ISA, without creating semantic foot guns like hidden aliasing

Related: