[cfe-dev] "Blocks" in Clang (aka closures)

steve naroff snaroff at apple.com
Tue Sep 2 16:59:13 PDT 2008

On Sep 2, 2008, at 6:39 PM, David Chisnall wrote:

> Hi Steve,
> I could be wrong, and he only proposed the feature rather than  
> implementing it.  His 1991 Taskmaster position paper at ECOOP  
> described them.  His blocks were only downward funargs (intended for  
> exception handling), but the POC implementation using the same  
> syntax, I believe, allows them be full closures.  The Taskmaster  
> paper is well worth reading.

Brad wrote about blocks in the ECOOP paper - they were never  
implemented in the Stepstone translator or GCC.

I remember the Taskmaster paper (and agree it's well worth reading).


> David
> On 2 Sep 2008, at 17:38, steve naroff wrote:
>> David,
>> I'm unfamiliar with the Brad Cox implementation of Blocks (though I  
>> know he's been a strong advocate for the feature). A few years ago,  
>> Brad and I worked on an ObjC "history" article for http://en.wikipedia.org/wiki/HOPL 
>>  (and blocks weren't mentioned). Can you point me to any  
>> references? (I'm confused).
>> Thanks,
>> snaroff

More information about the cfe-dev mailing list