Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?

LLVM's Libc++ Now Has C++1Y Standard Library Support 161

An anonymous reader writes "LLVM's libc++ standard library (an alternative to GNU libstdc++) now has full support for C++1y, which is expected to become C++14 next year. Code merged this week implements the full C++1y standard library, with support for new language features in the Clang compiler frontend nearly complete." GCC has some support for the soon-to-be standard too. The C++ standards committee is expected to produce a more or less final draft in just a few weeks. The LLVM and GCC C++14 status pages both have links to the proposals for the new features.
This discussion has been archived. No new comments can be posted.

LLVM's Libc++ Now Has C++1Y Standard Library Support

Comments Filter:
  • Re:!GNU/Linux (Score:5, Interesting)

    by iluvcapra ( 782887 ) on Wednesday September 25, 2013 @01:00PM (#44949833)

    (I hate how "GNU's Not Unix!" is really becoming more and more true. Unix was about minimalism, and sometimes GNU seems like it's about stuffing everything possible into every tool.)

    If they didn't, it'd be easier for people from the proprietary and BSD-compliant-license land (like Apple and Google) to circumvent the spirit of the GPL. As long as you have to link into their code, or copy and paste it, they control what you can do with it. If you can just invoke whatever little piece of GPL code you want with arguments, you can progressively replace their tools without adding anything back to the original GCC tools -- if you can code around a bug in GNU project without submitting a patch to that project, that's adverse to the opening of the code in the first place. GCCs middle end is intentionally blurry, and not modularized into a separate tool, to keep people from taking their own parser and bolting GCC's optimizations onto it, just as an example.

    It follows that that changes to the tools, and the process of creating the tools, thus stays under the political thumb of various FSF-aligned BDFLs.

  • Re:GNU excitement (Score:5, Interesting)

    by Sectrish ( 949413 ) on Wednesday September 25, 2013 @01:22PM (#44950091) Homepage

    Now that Clang/LLVM has got this finished, I'm wondering what a system would look like with:

    ... * Clang/LLVM as the system C/C++ compiler


    I'm developing a tiny game engine in C(11) and I've built profiling into the core, and I profile many of the math-heavy parts separately as well. Clang 3.3 actually almost always does better than gcc 4.8 here. Not by much, but there you have it. You should take a look at the SLP vectorizer, which will come enabled in -O3 as of Clang 3.4 but can already be enable separately with -fslp-vectorize.

    So for single threaded code I'm already leaning towards Clang. OpenMP is going to get integrated as well, as of then, all bets are off. Exiting times to be a C/C++ dev... (or any other kind, for that matter, LuaJIT never ceases to amaze me).

%DCL-MEM-BAD, bad memory VMS-F-PDGERS, pudding between the ears