Re:Show HN: How to compile C/C++ for WASM, pure Clang, no li...
by jstimpfle on Monday April 11, 2022 @03:35PM
(#30993643)
Pedantically, it might even be undefined behaviour (not sure, maybe a point of contention, similar to container_of macro). It's unlikely to cause problems, but the way you suggested is better (and can even be accompanied by a length field).
Thank you to the author though! It is a nice little example.
Thank you to the author though! It is a nice little example.