Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Packed structs in Zig make bit/flag sets trivial. Parent comment
https://www.scattered-thoughts.net/writing/mmio-in-zig/
It gets tricky if you need more control over loads and stores, or if there are different address spaces.
There are no comments on this comment yet.
https://www.scattered-thoughts.net/writing/mmio-in-zig/
It gets tricky if you need more control over loads and stores, or if there are different address spaces.