Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on A bug story: data alignment in C on x86 (2016). Parent comment
Well, other than memcpy. And it's kinda sketchy in the way that they did it: it was a tacked-on footnote in the C99 standard retained through to C11.
> create an array of function pointers of different types
Well, void * * or char * * (spaces so Hacker News doesn’t eat it) would do just as well…
Well, other than memcpy. And it's kinda sketchy in the way that they did it: it was a tacked-on footnote in the C99 standard retained through to C11.
> create an array of function pointers of different types
Well, void * * or char * * (spaces so Hacker News doesn’t eat it) would do just as well…