LWN.net Logo

Blocks in C, not C++

Blocks in C, not C++

Posted Sep 16, 2009 20:51 UTC (Wed) by nteon (subscriber, #53899)
In reply to: Blocks in C, not C++ by atai
Parent article: Tornado and Grand Central Dispatch: a quick look

recent llvm-gcc (available on Debian and other fine platforms) should have
blocks support built-in I believe. Clang as well. To actually _use_ blocks,
you need the BlocksRuntime shared library, available as part of compiler-rt [1]
(which builds and runs on Linux as of last week). Unfortunately I don't think
its packaged anywhere yet.

1 - http://compiler-rt.llvm.org


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds