8 ms·
Intel Clang-based C++ Compiler [pdf]
- liuliu 13y agoOne bits interests me is the contribution of clang-omp: http://clang-omp.github.io/ http://clang-omp.github.io/ looks promising, and cannot wait to try this in trunk.
- simcop2387 13y agoYea it'll definitely be cool to see OpenMP in LLVM/Clang. It's one of the biggest areas where GCC still wins out. It's not a panacea by any means but I know there's a lot of image processing libraries that use it.
- wlesieutre 13y agoWhat's the symbol at the beginning of the title supposed to be? It looks like [OBJ][OBJ] on my computer.
- SSLy 13y agoThis is the https://en.wikipedia.org/wiki/Unicode_Specials https://en.wikipedia.org/wiki/Unicode_Specials -- U+FFFC  object replacement character. I have no idea where this came from.
- appleflaxen 13y agoThe disclaimer about non-Intel processors is necessary, but sad. The dirty tricks they pulled with their compiler creating slow code on AMD processors are really underhanded.
- garenp 13y ago"Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel" Right, because Intel should spend their finite resources buying every imaginable Intel-compatible CPU from other vendors just to test and qualify them for the Intel compiler.
- frandroid 13y ago1) "Finite resources", when talking about Intel, is a relative concept. 2) As mentioned above, Intel has a history of undermining compilation on non-Intel processors. It's not just a question of passively not spending time testing on other CPUs.
- wmf 13y agoRight, because Intel should spend their finite resources buying every imaginable Intel-compatible CPU from other vendors just to test and qualify them for the Intel compiler. That's not what people are asking. Removing the code that sabotages performance on non-Intel processors would be trivial for Intel to do and would benefit users enormously.
- mattgreenrocks 13y agoThis looks great! Is this for OS X only?
- aaronblohowiak 13y agoYou would presumably use ICC on windows or linux.
- 0x09 13y agoYou can already use ICC on OS X as it is, so that presumption doesn't really fit. It certainly seems like they intend to use the Mac edition of Composer as a trial run for eventually ditching their own frontend code. Which, given the current pace of C++ standards development, isn't an unreasonable proposition. But since this devmeeting poster is the only public information in existence, only Intel knows.
- Marat_Dukhan 13y agoProbably because Clang is the default compiler on Mac OS X, but not on Windows or Linux
- njloof 13y agoWhere does one find the beta? Edit: https://software.intel.com/en-us/articles/intel-software-development-tools-2015-beta/ https://software.intel.com/en-us/articles/intel-software-dev...
- makmanalp 13y agoAnyone notice the weird first two chars of the title of this post? Looks like: "". Hexdump says it's twice "ef bf bc". That's not a unicode BOM is it?
- sp332 13y agoNope, BOM is FE FF.
- captaincrowbar 13y agoThe UTF-8 tool (http://www.ltg.ed.ac.uk/~richard/utf-8.html http://www.ltg.ed.ac.uk/~richard/utf-8.html) says it's U+FFFC OBJECT REPLACEMENT CHARACTER, which is intended to act as a placeholder for images, media, etc.
- mahouse 13y agoU+FFFC.
- MBCook 13y agoThis is exactly the kind of thing GNU was worried about with GCC (and thus used the GPL), right? They didn't want a company using all their parsing code with a proprietary back-end. I know Clang and LLVM were made with licenses explicitly designed to allow such extension (used, for example, to allow Xcode to integrate so tightly).
- oscargrouch 13y agoBut in the end, clang and llvm may got some contributions back to the open source project, that will benefit everybody.. If not now.. its very common that the project dont get the traction they are expecting.. and then they just open it up to at least get some good marketing of it.. Theres also the whole net effect.. hiring people to get to know a open source project.. that can contribute back to it, or get hired by someone else that do contribute back.. I think in the end, open source with BSD/MIT licenses are likely to have better results for the open source project as a whole.. I think GNU make a lot of sense when stallman give birth to it.. because the software "ecosystem" was very brutal about openness back than.. it required strong leadership and actions.. i think it makes less sense nowadays.. you know.. even microsoft are opening their stuff!! I think we need to think now more about open data, because there a lot of sensitive stuff behind black boxes and paywalls..
- jmnicolas 13y agoCan someone explain why it's a good (or bad) thing ? I don't use C++ so I'm a bit lost as to why they would do this. As I understand it, LLVM produces some low level byte-code that is then compiled. Is it because LLVM is better at parsing and Intel compiler better at performances that they combined both ?
- nostrademons 13y agoIntel has put a lot of effort into building a compiler that emits very tightly optimized machine code, oftentimes by exploiting quirks of its own processors (and, as other posters are pointing out, sometimes by intentionally crippling it for other CPUs). Clang has invested a lot of effort into producing helpful programmer-friendly errors & diagnostic messages. Put them together and you get a compiler that's both fast and developer-friendly.
- ponce 13y agoGreat news, Intel does make suprinsingly effective optimizations.