Hacker News new | ask | show | jobs
by j1elo 2734 days ago
This is a fantastic technique that didn't occur to me for an embedded project that I was developing in C and where passing arrays of known size was a frequent thing. Also it was desirable to save space by avoiding the padding that a "array+size" struct would contain.

Thanks for commenting this.