News for hackers. Stuff that matters.
Re:GCC 4.8.1 released, C++11 feature complete by jahnu on Saturday June 01, 2013 @07:39AM (#5803589)
Worth noting that libstdc++, whilst a separate project, is not yet feature complete.

http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#s...

Re:GCC 4.8.1 released, C++11 feature complete by ot on Saturday June 01, 2013 @07:51AM (#5803614)
OTOH libc++, the stdlib of the Clang project, is C++11 feature complete (and I guess it is the only one):

> libc++ is a 100% complete C++11 implementation on Apple's OS X.

http://libcxx.llvm.org/

Re:GCC 4.8.1 released, C++11 feature complete by snogglethorpe on Saturday June 01, 2013 @10:20PM (#5807034)
The problem with libc++ the last time I tried it was that it was heavily focused on MacOS, and didn't even build out of the box on Linux.

Maybe they've fixed this by now, I dunno. [Though the wording in that blurb, "100% complete C++11 implementation on Apple's OS X" doesn't inspire confidence...]

Re:GCC 4.8.1 released, C++11 feature complete by michielvoo on Saturday June 01, 2013 @08:32AM (#5803699)
Is the lib tied to the compiler, or are they interchangeable?
Re:GCC 4.8.1 released, C++11 feature complete by dietrichepp on Saturday June 01, 2013 @08:35AM (#5803707)
I don't know about GCC, but Clang (at least on OS X) lets you select the stdandard library with the -stdlib option. So the only question is whether you can use libc++ with GCC.
Re:GCC 4.8.1 released, C++11 feature complete by zaphoyd on Saturday June 01, 2013 @10:16AM (#5804021)
When I did research on this a year or two ago the GCC folks told me that GCC is highly coupled to libstdc++ and that it is not really interchangeable. I am not sure if this has changed more recently.

Clang definitely lets you easily switch between libstdc++ and libc++.

Re:GCC 4.8.1 released, C++11 feature complete by livingparadox on Saturday June 01, 2013 @11:14AM (#5804249)
I can confirm you can use libc++ with gcc. I've already built a couple projects with it. It was the only way I could get past the linker step, once I included any c++11 standard library functions...
Re:GCC 4.8.1 released, C++11 feature complete by blinkingled on Saturday June 01, 2013 @09:28AM (#5803852)
FWIW, Go 1.1 support was planned to be in GCC 4.8.1 but that has not happened and now the plan is for 4.8.2 to have it.
Re:GCC 4.8.1 released, C++11 feature complete by SiVal on Saturday June 01, 2013 @02:31PM (#5805240)
Is there an estimated time of arrival for 4.8.2 yet?
Re:GCC 4.8.1 released, C++11 feature complete by dmit on Saturday June 01, 2013 @02:41PM (#5805300)
Re:GCC 4.8.1 released, C++11 feature complete by zaphoyd on Saturday June 01, 2013 @10:23AM (#5804051)
according to its release page clang 3.3 (due for release next wednesday) is also C++11 feature complete and apparently has implementations for several c++1y features already.

http://clang.llvm.org/cxx_status.html

Re:GCC 4.8.1 released, C++11 feature complete by mpyne on Saturday June 01, 2013 @03:20PM (#5805519)
And perhaps more importantly, clang is the only project with a full implementation of the C++11 standard library. GCC supports the language but libstdc++ is not all the way there yet.
Re:GCC 4.8.1 released, C++11 feature complete by snogglethorpe on Saturday June 01, 2013 @10:22PM (#5807038)
gcc also has various c++1y features already, although I think different ones than clang.

Neither compiler team is resting!

Re:GCC 4.8.1 released, C++11 feature complete by shared4you on Saturday June 01, 2013 @07:20AM (#5803553)
OT: I submitted the same news yesterday, but HN didn't pick it up:

https://news.ycombinator.com/item?id=5797905

Just 7 votes, but today this story is already on HN front page. Hmmm, may be I should've chosen a better title.

Re:GCC 4.8.1 released, C++11 feature complete by melling on Saturday June 01, 2013 @09:05AM (#5803786)
Happens all the time. It used to be worse because there wasn't a duplicate submit feature. You'd see two posts that were 20 minutes apart and the second one caught people's attention. It only takes a couple upvotes before others will take a look.
Re:GCC 4.8.1 released, C++11 feature complete by belorn on Saturday June 01, 2013 @09:49AM (#5803922)
There were a HN story a few weeks ago about how to maximize the chance for front page. Some days are better than others, as well as what time of the day.
Re:GCC 4.8.1 released, C++11 feature complete by OrsenPike on Saturday June 01, 2013 @02:36PM (#5805265)
Anyone know if there are any Windows builds available for GCC 4.8.x ? I normally use TDM/MinGW but they are lagging on 4.7.2.

Also slightly off topic how is clang on Windows these days?

Re:GCC 4.8.1 released, C++11 feature complete by octopus on Saturday June 01, 2013 @02:50PM (#5805350)
Here, a 4.8.0 build for 32 and 64 bits Windows:

http://www.equation.com/servlet/equation.cmd?fa=fortran

Re:GCC 4.8.1 released, C++11 feature complete by OrsenPike on Saturday June 01, 2013 @03:31PM (#5805559)
Thanks I will check it out
Re:GCC 4.8.1 released, C++11 feature complete by pbsd on Saturday June 01, 2013 @06:50PM (#5806391)
There is a MinGW Windows builds sourceforge project [1]; they have already updated to 4.8.1. rubenvb's builds [2] also include 4.8.0.

[1] http://sourceforge.net/projects/mingwbuilds/

[2] http://sourceforge.net/projects/mingw-w64/files/Toolchains%2...