Hacker News new | ask | show | jobs
by t-3 171 days ago
No structs, just an array that accomplishes the same thing, without field names or other niceties. Enjoy the pleasure of not using a struct when you inevitably add/reduce/reorder fields later.
1 comments

Good point! Added `vec_ptr[vec]` and `vec_len[vec]` helpers to mitigate this somewhat.