RSSAmplifier

Andreas Hohmann · May 4, 2024

Zig structs of arrays

0
Sign in to vote or save

This site took too long to answer. You can still read it on the original site — the toolbar below keeps your place in the directory.

If you want to see the power of Zig's comptime, look no further than MultiArrayList . This collection stores the data of a list of structs in struct of array (SoA) rather than an array of structs (AoS). This technique is a staple of data-oriented design and array-oriented programming (long live APL) as used in high-performance applications such as game engines, scientific computing, and…

Read on andreashohmann.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.