> On Nov 3, 2013, at 8:28 PM, Maxim Kuvyrkov <ma...@kugelworks.com> wrote: > > Hi, > > I am considering a project to add Apple's blocks [*] extension to GCC. I am > looking at adding blocks support to C, C++ and Obj-C/C++ front-ends.
What benefits does blocks have over nested functions in C and over lambas in C++? I think it is wrong to add another extension if only to be compatible with clang. I also think the blocks extension are less useful than nested functions and lambas. The question really should be why support something which has no advantage to them to what is already existing. I think it was wrong for apple to add them in the first place. Thanks, Andrew > > There are many challenges (both technical and copyright) that require work > before any patches are ready for review, and I would appreciate indication > from front-end maintainers on whether a technically sound implementation of > Blocks extension would be a welcome addition to GCC front-ends. > > Joseph, Richard, as C front-end maintainers, would you be supportive of > Blocks extension implemented for C front-end? > > Jason, Mark, Nathan, as C++ front-end maintainers, would you be supportive of > Blocks extension implemented for C++ front-end? > > Mike, Stan, as Obj-C/C++ front-end maintainers, would you be supportive of > Blocks extension implemented for Obj-C/C++ front-ends? > > [*] http://en.wikipedia.org/wiki/Blocks_(C_language_extension) > > Thank you! > > -- > Maxim Kuvyrkov > www.kugelworks.com > > >