Data-Oriented Design Revisited: Type Safety in the Zig Compiler

Day 2 - Systems Programming (Thu) • 10:30 • Duration: 45m

Data-Oriented Design seeks to optimise the memory footprint and access patterns of software with the goal of improving performance.

Unfortunately, common DOD strategies involve flattening lots of data to raw integers, so can often come at the cost of type safety. Using the Zig compiler codebase, we walk through how our DOD implementation techniques have evolved over the past two years to improve efficiency without sacrificing type safety.

Speaker