59 points AlexeyBrin 2 days ago 10 comments
rramadass 1 hour ago | parent
He also has other interesting C techniques, namely;
Adding reflection to C - https://news.ycombinator.com/item?id=49964525
_Generic for Type Reification in C - https://www.davidpriver.com/creification.html
See also his C2y interpreter with REPL named "DrC" for the upcoming C29 standard (https://en.wikipedia.org/wiki/C29_(C_standard_revision)) - https://github.com/drpriver/drc
PS: I really like his style of writing and presentation; concise and precise without unnecessary fluff and page beautifying.
podocarp 51 minutes ago | parent
lor_louis 58 minutes ago | parent
https://louissven.xyz/article/how_I_do_container_types_in_C....
Feel free to flag/delete if this isn't the place.
tniemi 39 minutes ago | parent
Still feels a bit like a party trick, but if it works...
Xirdus 22 minutes ago | parent
veexx103 39 minutes ago | parent
just as was done with C++?