Value Types vs Reference Types
Explains the performance differences between value types and reference types in .NET, focusing on memory layout, CPU cache, and garbage collection.
Explains the performance differences between value types and reference types in .NET, focusing on memory layout, CPU cache, and garbage collection.
An analysis of Project Valhalla for Java, covering value types and generic specialization, based on a talk by Brian Goetz.
Explains why every Swift value type should conform to Equatable, covering the three properties of equality: reflexive, symmetric, and transitive.
Explains why every Swift value type should conform to Equatable, covering the properties of equality.
Explains Java's value-based classes, their limitations, and how they relate to future value types to prevent subtle bugs.
Exploring immutable types with changing state in Swift through functional programming, using new instances instead of mutation.
Explores immutability in Swift functional programming, showing how to handle state changes by creating new instances instead of mutating existing ones.