3 ms·
Anonymous functions in C, in heap not on the stack. GCC can do it, but it puts them on the stack which is limiting.
by burgerbrain 15y ago
Anonymous functions in C, in heap not on the stack.
GCC can do it, but it puts them on the stack which is limiting.
- huhtenberg 15y agoType inference would've been nice. As would have been a const inference.
- comex 15y agoTry blocks: http://en.m.wikipedia.org/wiki/Blocks_(C_language_extension) http://en.m.wikipedia.org/wiki/Blocks_(C_language_extension) If you use Clang you can use them on non-Apple platforms.