Remix.run Logo
JSR_FDED 2 days ago

What would need to change when the hardware changes?

riyaneel 2 days ago | parent [-]

Absolutely not, the code following all Hardware principles (Cache coherence/locality, ...) not software abstraction. That not means the code is for a dedicated hardware but designed for modern CPUs.

ajb 2 days ago | parent [-]

Would be more convincing if you enumerated the assumptions. For example, 128b cache lines. Presumably, that is a speed assumption but not a soundness assumption.

riyaneel 2 days ago | parent [-]

Im currently adding doc, but 128b alignas are for the Adjacent Cache Line prefetcher and avoid to silence the MESI protocol