GCC 5.0 To Support OpenMP 4.0, Intel Cilk Plus, C++14
An anonymous reader writes: GCC 5 is coming up for release in the next few weeks and is presenting an extraordinary number of new features: C11 support by default, experimental C++14 support, full C++11 support in libstdc++, OpenMP 4.0 with Xeon Phi / GPU offloading, Intel Cilk Plus multi-threading, new ARM processor support, Intel AVX-512 handling, and much more. This is a big release, so those wishing to test it ahead of time can obtain the preliminary GCC 5 source code from GCC's snapshots mirror.
Clang/LLVM receives finance and contribution (and therefore an element of control) from Apple. Its also BSD licensed. These are not bad things at all, but its great that GCC, which GNU licensed, is an alternative.
If it acquires resources on instantiation like a duck, then its a shared_ptr<Duck>
Why not both?
_ . . . . . _
\_(''/)_/
maybe we should ask timothy or bennett haselton...
Yeah, nice new features is a good thing. I just hope there won't be much regression re. the current v4 older features.
Slashdot, fix the reply notifications... You won't get away with it...
Thank you GCC/GNU/contributors.
How is this informative, other than that it's the author broadcasting his toolchain preference? bfd..
Despite the fact actually clang controlled by apple , so as old C hacker there is no chance to even trying it.
It isnt controlled by apple, the source code is available and it is offered under a permissive open source license. So you are either spreading FUD for the restrictive foss camp or you are just an idiot, either way you lack the intellectual competence for this sort of thing anyway so neither clang nor gcc will interest you.
I'm not looking forward to the compatibility break with other systems. Some of us have to make software work in environments that receive much less love (MIPS, for example).
I'm starting to think GNU is the problem with "GNU/Linux" these days.
Clang/LLVM receives finance and contribution (and therefore an element of control) from Apple. Its also BSD licensed. These are not bad things at all, but its great that GCC, which GNU licensed, is an alternative.
Corporations guide the development of GPL licensed projects too. Take Linux for example, the main contributors are corporate sponsored/subsidized/etc so therefore the work is directed by corporate needs as well.
Plus there are indirect effects too. As a corporate sponsored project like Clang/LLVM becomes highly competitive or surpasses a project like GCC then a fire gets lit under GCC to make a little progress, and possibly to add comparable features that were corporate sponsored in Clang/LLVM. So corps get to indirectly influence GCC as it strives to be competitive.
GCC is more than an alternative. It helps keep the commercial vendors on their toes and honest. At some level Linux has performed a similar function regarding commercial Unix vendors.
much of left-wing thought is a kind of playing with fire by people who don't even know that fire is hot - George Orwell
Lots of nice C/C++ updates, a few Fortran ones. Don't see anything for Objective C or Ada.
This addition looks very interesting: Cilk Plus
Intel Cilk Plus is an extension to the C and C++ languages to support data and task parallelism.
much of left-wing thought is a kind of playing with fire by people who don't even know that fire is hot - George Orwell
Because that eliminates fandom. I think it's great the GCC and LLVM are competing. But others feel that there must be teams and that they have to support their team (rah rah rah!).
GCC is more than an alternative. It helps keep the commercial vendors on their toes and honest.
How? GCC has been lagging for a long time.
Clang/LLVM receives finance and contribution (and therefore an element of control) from Apple. Its also BSD licensed. These are not bad things at all, but its great that GCC, which GNU licensed, is an alternative.
Are you joking? You cannot maintain a modern big compiler without strong industry support.
Take a look at GCC Git browser. With a quick blush you can see that a lot of commits are coming from Red Hat, Suse, Oracle, Samsung, ARM, and so on.
What's up with that?
AVX and AVX2 have been disappointments so far, with the YMM and XMM registers sharing resources and processors faking 256-bit with two 128-bit operations. One hopes GCC will make good use of the newer and more plentiful ZMM registers.
GCC is a nice way to avoid accusations of monopoly and to attract startups and hobbyist users, who do not have money to buy commercial compilers. GCC is great for many uses, even many bigger companies use it on daily development, as that avoids buying many licenses for the commercial compilers. And on many occasions, the executable produced by GCC is equally good or even better than with the expensive suites.
Is it C/C++ 'support' or is it standards compliance. That difference matters.
Too many assumption with out any clear evidence . I think it is clear that who is idiot here.
And another thing I forgot to mention is that everyone with LITTLE understanding of how politics works can see the big picture here (you can play chess if you cant see here whats going on with apple and gcc and clang , It will help you with your lack of understanding of politics ) , Apple pushes clang so hardly to replace it with gcc as fast as they can in their ecosystem completely (If I remember correctly in 2013 they replace gcc with clang even you type "gcc" in your bash , I am not sure about the date , I respect my freedom _ I am not like you _ and I do not touch apple's product's) .(And another thing I don't know you have the wisdom to see the picture here ,or you are just kid in your parent basement which is so existed about new tools).
"I have nothing to contribute to this thread" <-- +1 Informative. WTF?
Huh? As a clang contributor, I'd not noticed it being controlled by Apple. I suspect that all of the LLVM/clang developers employed by Qualcomm, ARM, Google, Intel, Facebook, Adobe, and so on would be quite surprised to discover that it's controlled by Apple too.
Apple has put a lot of development effort into LLVM/Clang over the years because they wanted to be able to use the back end and front end in places where the GPL would not be acceptable (graphics drivers, syntax highlighting in XCode). The rest of the community also benefits from this (if you use a 3D driver with X.org, you're probably using LLVM for the shader compiler, even if you don't use clang as your C compiler), but even at its peak Apple was only just responsible for about half of the development work on LLVM and now it's even less.
I am TheRaven on Soylent News
Why? GCC generates better code and has fewer compatibility issues.
Yeah, for embedded you can often compile with GCC for development. In the end you compile it once with a paid for compiler if you need the code size improvement. A modern GCC is very good so this last step is often not even needed.
I hope clang will drive gcc to more innovation and the other way around.
I'll be honest and say I like both, use neither professionally and just said the first dumb thing that came to my head. Surprisingly it got +2 informative instead of -1. Happens sometimes here
Does it depend on systemd?
Confucius say, "Find worm in apple - bad. Find half a worm - worse."
LLVM & GCC Compiler Developers To Begin Collaborating
http://developers.slashdot.org...
And they'll slurp gcc into systemd too.
You didn't fix it; you changed it into a statement that is not correct.
Where and how exactly?
I know llvm integrates better with IDEs, but I couldn't care less.
As far as I have seen they produce comparible code. Last time I checked gcc code outperformed llvm code most of the time, but they were very close.
Secure messaging: http://quickmsg.vreeken.net/
GCC likes to lie on their supported options bullet points. Back when 4.8 came out, they claimed full c++11 support, but their entire regex library was non-functional. Worse: it compiled w/o warning or error and would *crash* on such blisteringly difficult patterns such as "\\d+". This was at a time when clang had had full 11 support for about half a year (and most of 14 supported.)
I'm probably never going to go back to gcc. Between the above and the politics that prevent gcc from actually separating out into a real front/back end project, I'm not convinced that their compiler is as useful as clang/llvm.
Here where I work we compile with both, gcc for the production release, clang for extra warning checking.
factor 966971: 966971
why? what a shame
Perhaps you misread? I said only that GCC was an alternative and released under a different license. I'm sure there are pros and cons to each licensing model that warrant a deep discussion, but obviously neither precludes industry backing.
If it acquires resources on instantiation like a duck, then its a shared_ptr<Duck>
No disagreement there.
Would you mind reposting, this time using English?
Contribute to civilization: ari.aynrand.org/donate
"Ok, so I'm looking at the code generation and your compiler is pure
and utter *shit*.
"Adding Jakub to the cc, because gcc-4.9.0 seems to be terminally broken.
"Lookie here, your compiler does some absolutely insane things with the
spilling, including spilling a *constant*. For chrissake, that
compiler shouldn't have been allowed to graduate from kindergarten.
We're talking "sloth that was dropped on the head as a baby" level
retardation levels here."
- Linus Torvalds on GCC 4.9.0
Code that compiles reliably under both is likely to be better code than that which compiles only under one or the other.
It's in the interests of ARM and AMD to support both GCC and LLVM/clang. So far as I recall, both companies do contribute heavily in code and other resources to both projects.
meet the "super-codimator 5000"!!!
This may not end well (it's not that and particular feature "breaks the camel's back", such damage is gradual and cumulative - like clogged arteries).
The UNIX "thing" used to be: do one thing and do it very well. Adding more and more junk to a language compiler is a BAD IDEA, particularly when it's a basic building block/essential tool in so many projects. Once people start depending on these new "features" they'll be impossible to back-out without overturning lots of applecarts, and meanwhile the increases will inevitably force the minimums required to support the GCC toolchain to rise.
What next? Integrated shader language compiling and testing? A new requirement for DirectX12 and OpenGL4 to support a new gaphical front-end? This is called "lack of focus and a broken compass". No, I'm NOT saying they have crossed a line and are bad NOW, I am just saying that those involved need to be very cautious about this sort of feature-itis - it could lead to a mess if not kept in check and then a future need for a really bloody feature-ectomy (performed with forks? - eeeeew)
The project started as a C compiler for the GNU OS, and picked-up front-ends for C++, Fortran, etc. It should nto become anything other than an extremely good cross-platform C compiler with various fron-ends. Anything else ought to be a separate project that uses GCC.
Clang/LLVM receives finance and contribution (and therefore an element of control) from Apple.
And GCC receives finance and contribution (and therefore an element of control) from Samsung, Red Hat, Oracle, etc...
ARM is slowly winding down their GCC activities. They used to have four compiler groups: the proprietary toolchain, LLVM-for-CPUs, LLVM-for-GPUs, and GCC. They've started to let the two LLVM groups talk to each other and they're now using LLVM in their proprietary toolchain (open source compiler, proprietary JTAG debugging tools). They asked their customers a few years which compiler they preferred and the answers were all either LLVM or 'don't care,' which makes investing in GCC largely pointless. They'll probably keep doing it for a bit longer, but most of the effort is focussed in the LLVM direction. In particular, it's a much bigger return on investment: improvements to GCC make the C/C++ compiler better, improvements to LLVM make a large number of languages (including JavaScript for Safari) faster.
I am TheRaven on Soylent News
That GCC is bad does not mean that LLVM is not worse.
True, but I haven't seen Linus frothing at the mouth over LLVM. The man knows compilers.