|
|
Log in / Subscribe / Register

Things that go Clang in the night: LLVM 2.4 released (ars technica)

Things that go Clang in the night: LLVM 2.4 released (ars technica)

Posted Nov 13, 2008 19:43 UTC (Thu) by asamardzic (guest, #27161)
In reply to: Things that go Clang in the night: LLVM 2.4 released (ars technica) by saffroy
Parent article: Things that go Clang in the night: LLVM 2.4 released (ars technica)

The usual C error messages can be so painfully cryptic, even for trivial stuff.
Heh - and how about C++ error messages, especially when so called "template meta-programming" crap employed? Although, I guess no compiler could emit sane error messages there...


to post comments

Things that go Clang in the night: LLVM 2.4 released (ars technica)

Posted Nov 13, 2008 20:24 UTC (Thu) by ncm (guest, #165) [Link] (3 responses)

The problem with C++ error messages is that the compiler isn't told enough about the library programmer's intentions for it to explain usage problems to users of the library. A new feature of C++09, due out next year, called "concepts", will enable library writers to tell the compiler enough so it can produce short, helpful error messages for mistakes in calls to the library.

Things that go Clang in the night: LLVM 2.4 released (ars technica)

Posted Nov 14, 2008 0:14 UTC (Fri) by dlang (guest, #313) [Link]

unfortunantly the standards track is runninng slowly, the new standrd probably won't make it out next year

Things that go Clang in the night: LLVM 2.4 released (ars technica) [offtopci]

Posted Nov 20, 2008 17:34 UTC (Thu) by Frej (guest, #4165) [Link] (1 responses)

I keep wondering why they called it concepts instead of interfaces?

Things that go Clang in the night: LLVM 2.4 released (ars technica) [offtopci]

Posted Nov 20, 2008 22:58 UTC (Thu) by nix (subscriber, #2304) [Link]

It's a term from the STL, which predates Java, where it's not an interface
so much as a set of behavioral guarantees: I'm fairly sure that a Java
interface couldn't express what an STL concept can. (Now I will shut up
and let ncm, an actual C++ expert rather than a poseur like me, tell me
I'm full of crap. I expect I am.)


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