[cfe-dev] clang comparison webpage

Reid Kleckner rnk at google.com
Mon Dec 9 11:44:36 PST 2013

On Mon, Dec 9, 2013 at 11:33 AM, Mouse <mouse at rodents-montreal.org> wrote:

> > Right.  Early on, it just wasn?t important.  Beyond that, I still think
> that$
> As for trampolines, that's a reason to dislike gcc's implementation
> (the ABI, if you will); it's not a reason to dislike the API, the
> programmer-visible form they take.

If the user wants to capture locals from outside the inner function, it is
impossible to implement the API that nested functions provide securely
while conforming to existing function pointer ABIs.  Blocks and lambdas
don't have this problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131209/1f9ba730/attachment.html>

More information about the cfe-dev mailing list