News for hackers. Stuff that matters.
Re:LLVM 2.8 Released by dododo on Wednesday October 06, 2010 @06:23PM (#1766101)
Clang C++ is now feature-complete with respect to the ISO C++ 1998 and 2003 standards.

this seems like a pretty big milestone. in particular, clang now has a libc++.

they also mention now supporting objective-c++. that's got to be one strange beast to code in.

Re:LLVM 2.8 Released by dirtyaura on Thursday October 07, 2010 @01:27AM (#1766936)
this seems like a pretty big milestone

It is! I yesterday compiled latest llvm/clang myself (surprisingly easy, by the way) to test how it would help our build times. We use a lot of C++ templates and gcc compilation times are a big pain point. I just ran syntax check with clang and it already found a bunch of pretty serious bugs, so it's not only faster but better at finding errors too.

they also mention now supporting objective-c++. that's got to be one strange beast to code in.

We do it daily. It's just a mixture of C++ and Objective-C code. I think quite many game studios are using Obj-C++ as their own libraries are in C++, but many times you need some interface elements from UIKit.

Nothing magical in Obj-C++, but there are a few dangerous ways to shoot your in the foot that you don't really learn by reading but by shooting.

Re:LLVM 2.8 Released by ioquatix on Wednesday October 06, 2010 @06:35PM (#1766134)
LLVM is "sponsored" by Apple, who are keen to see good Objective-C support; Objective-C++ isn't really a combination of C++ and Objective-C, its more a compatibility option between different libraries and APIs.
Re:LLVM 2.8 Released by msbarnett on Wednesday October 06, 2010 @07:03PM (#1766211)
> Objective-C++ isn't really a combination of C++ and Objective-C, its more a compatibility option between different libraries and APIs.

Eh, I'd say that's even more misleading.

In the same sense that Objective-C is a strict superset of C, Objective-C++ is a strict superset of C++, adding the same features to C++ that Objective-C adds on top of C.

In practice, this means that you can mix Objective-C++ and C++ in the same file (but you can't treat C++ classes and objects as Objective-C++ classes or objects, or vice-versa).

Re:LLVM 2.8 Released by ioquatix on Wednesday October 06, 2010 @07:10PM (#1766232)
I think you've misinterpreted my post. I /generally/ agree with what you've said.
Re:LLVM 2.8 Released by avar on Wednesday October 06, 2010 @07:09PM (#1766228)
Today's discussion about the clang 2.8 release: http://news.ycombinator.com/item?id=1762335
Re:LLVM 2.8 Released by ioquatix on Wednesday October 06, 2010 @05:32PM (#1765938)
Source code visualisation of LLVM development over 9 years: http://www.oriontransfer.co.nz/research/code-visualisation
Re:LLVM 2.8 Released by ioquatix on Wednesday October 06, 2010 @05:26PM (#1765920)
Re:LLVM 2.8 Released by anonymous245 on Thursday October 07, 2010 @02:00AM (#1766987)
I don't understand the hype.

I downloaded and installed the Mac binaries, but it couldn't compile the STL headers that Xcode installed.

It's FAR from production quality, IMHO.