[cfe-dev] Quality of Objective-C++ compiler

James Gregurich bayoubengal at mac.com
Wed Mar 20 17:35:54 PDT 2013

While digging around on the web to figure out what should be perfectly valid ObjC+ blocks code wouldn't compile on llvm-gcc 4.2, I ran into the following comment on the quality of the ObjC++ support. Questions:

1) Was this characterization valid?   
2) Is this characterization of ObjC++ true with the current clang/llvm implementation?

> <soapbox>I recommend avoiding Objective-C++ as much as possible. It's slow to compile, bloated to run (particularly with ARC since it turns on -fobjc-arc-exceptions), buggy in the compiler and the debugger, and mostly a mess in my experience giving the worst of both worlds. C++ is fine. Objective-C is fine. Just keep the interface between them as small as possible. </soapbox>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130320/2b8f9505/attachment.html>

More information about the cfe-dev mailing list