News for hackers. Stuff that matters.
Re:Lisp macros for C by FrozenVoid on Thursday April 20, 2017 @04:43AM (#14154964)
GCC and Clang(since 2016) have "__auto_type" extension for C which does a similar thing. https://gcc.gnu.org/onlinedocs/gcc/Typeof.html
Re:Lisp macros for C by mikeash on Thursday April 20, 2017 @09:38AM (#14156477)
Very nice! I like using `auto` when writing C++ and miss it when writing Objective-C. I could use Objective-C++, of course, but that has its own problems. I'll have to keep this in mind.