A highly performant cache for very small data

(github.com)

5 points | by tanelpoder 3 days ago ago

1 comments

  • martianlantern 2 days ago

    I’m not familiar with Zig and would appreciate an explanation of how this works. My understanding is that cache behavior is managed by the CPU, and programmers only influence it indirectly through the sequence of instructions (i.e., access patterns). Is that accurate? Also, is this approach specific to Zig, or could it be achieved in C or Rust as well? Thanks