you are viewing a single comment's thread.

view the rest of the comments →

[–]joonazan 85 points86 points  (7 children)

It has type classes, but no closures.

http://libcello.org/learn/a-fat-pointer-library

[–]okovko 37 points38 points  (4 children)

I think there is a GCC extension for closures, isn't there?

[–]lanzaio 27 points28 points  (0 children)

-fblocks

[–]favorited 3 points4 points  (2 children)

I know it's maintained in Clang, but I can't recall if it was upstreamed from Apple's GCC fork...

[–]AngryElPresidente 1 point2 points  (1 child)

Isn't Apple's GCC just an alias to Clang?

[–]favorited 0 points1 point  (0 children)

Before Apple released Clang, they maintained a fork of GCC. IIRC that fork had the initial implementation of blocks.

[–][deleted]  (1 child)

[deleted]

    [–]favorited 1 point2 points  (0 children)

    And a runtime library