GCC 4.9 To See Significant Upgrades In 2014
noahfecks writes "It seems that the GCC developers are taking steps to roll out significant improvements after CLANG became more competitive. 'Among the highlights to look forward to right now with GCC 4.9 are: The Undefined Behavior Sanitizer has been ported to GCC; Ada and Fortran have seen upgrades; Improved C++14 support; RX100, RX200, and RX600 processor support; and Intel Silvermont hardware support.'"
Perhaps it should be banged on a bit before worrying about 4.9.x as it takes a while before everyone starts using the bleeding edge gcc.
You are being MICROattacked, from various angles, in a SOFT manner.
That's great that they have color diagnostics. When will they finally fully support a standard from 14 years ago?
Perhaps in json?
http://michaelsmith.id.au
That's good, because you'll have to wait until next year anyway.
The Tao of math: The numbers you can count are not the real numbers.
So, no improvements to the quality of generated code from existing source for existing platforms?
...which is exactly why some folks are flocking to CLANG. Sure, not everyone wants to extend/modify his compiler, but actively preventing people from reusing your code isn't exactly what you should do if you want to keep a community thriving.
Computer simulation made easy -- LibGeoDecomp
since we don't need your kind around here no more.
Why does your subject imply that boon means the opposite of "a thing that is helpful or beneficial"?
...which is exactly why some folks are flocking to CLANG.
No Apple is pushing CLANG for exactly the reason that they want to use BSD license in a take not give fashion...how hackable is it; Xcode(SDK) will only work on Mac OS X. Looking forward to proprietary extensions :)
On a side note wasting my time to by providing a link that neither promotes your conclusion or your facts its derived from is offensive.
The irony is not lost on me that you do this in response to an article where GCC continues to move forward at a breakneck pace.
Serious, while testing the latest compiler in my organsation we really were flabbergasted by the aggressive loop optimization in 4.8. A great feature if everyone would stick to the most conservative coding standards, but a hell in practice. Reducing the iteration count of loops without a single warning, who thought that was a great default mode of operation should be shot, quartered and shot again.
I'm not sure whether I understood your post correctly as it seems to garbled be yes? If you doubt that RMS is objecting plugins in GCC then you're apparently new to /. and GCC.
BTW: not just Apple is pushing CLANG (and thereby LLVM), other companies include NVIDIA (CUDA uses LLVM) and IBM (CLANG was ported to Blue Gene/Q), just to name a few.
Computer simulation made easy -- LibGeoDecomp
If you're trying to imply that Java is the new Fortran you couldn't be more wrong.
It's the new C080L.
Confucius say, "Find worm in apple - bad. Find half a worm - worse."
Yeah, because I feel so cozy in the company of Apple, Nvidia and IBM. Still I miss sorely Oracle, Adobe, Sony, Microsoft, the RIIAA and... how was that Myhrvold fixture called? Ah, yes! Intellectual Ventures.
Technically LLVM is shiny and all, but I won't touch it with a ten-foot pole.
I always think Apple's biggest stake in CLANG (or any competition to GCC) is Jobs's butthurt from good ol' NeXT times.
With some insight into how some people write real high-quality enterprise grade software, I can confidently state that you are completely clueless. In addition, many enterprises that are critically depending on IT infrastructure are now considering replacing Solaris with Linux (RHEL typically), due to problems with basically _everything_ Oracle makes. And of course the most critical part of RHEL (the kernel) is compiled with GCC.
You are suffering from the common misconception that things you pay for are better. Psychologically well researched, but it does not hold up in reality, and is just a specific form of stupidity, i.e. ignoring reality to take comfort in your own misconceptions.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
The above post was correctly marked as flamebait, but there's a grain of truth in it. ICC, for example, still does a much better job at vectorisation than gcc or clang (clang with polly enabled does about as well, significantly better in some cases). The autoparallelisation stuff in the Sun, uh, Oracle, compiler is also pretty impressive on certain workloads.
I am TheRaven on Soylent News
What do people have to say about the IBM XL C++ compiler? Is it good?
It's crazy expensive. But it's good. It's the most typical compiler for BlueGene machines, for example. But you can buy a few gcc licenses for the same price.
There's an interesting Clang talk at Channel9: The Care and Feeding of C++’s Dragons. Speaker: Chandler Carruth, Clang lead, Google.
Oh, and their C++11 support is atrocious.
Will devour you all.
Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
but there's a grain of truth in it.
Not really.
ICC, for example, still does a much better job at vectorisation than gcc or clang
So? gcc has much better support for C++11 and C++14, and supports many more architectures and platforms. ICC being better at one (important, but still one) aspect does not make the claim that "gcc is a hobbyist tool" have a grain of truth.
GCC runs a substantial fraction of the world's infrastructure: it is in absolutely no way a hobbyist tool.
SJW n. One who posts facts.
So? gcc has much better support for C++11 and C++14
Much better? Maybe "a tad better" And the things icpc is missing are not so important. But that wiki (while the best reference for it that I know of) is out of date, so if you are comparing the latest version of each, I think you'd find that they are fairly compatible.
Does anyone have any information about the undefined behavior sanitizier?
As a member of both the C and C++ standards committees, and as a CEO of a company that sells C++ libraries to businesses for high-performance computing, I have to disagree with you.
The Oracle/Sun and IBM compilers are the worst C++ compilers available.
Intel is also pretty bad, despite touting good standards conformance and being designed for runtime speed, it deals very badly with abstraction penalties, and is extremely slow to compile.
Microsoft's compiler is also pretty bad, both at compilation speed, standards conformance, and runtime speed, with each new version introducing quirks and regressions (they have acknowledged major codegen regressions in the recent releases and are investigating them)
If you want a good C++ compiler, GCC or Clang are the only tools available.
It's so good that you should use the experimental Clang port instead or the outdated GCC whenever you can.
As a member of both the C and C++ standards committees
I don't know whether that's a good sign for Slashdot, or a bad sign for C/C++....
Don't worry it's not that hard to be a CEO and a member of a committee.
Yes, "much better", going by available data. Here's that table with version numbers converted into dates. I deleted rows with missing data for either compiler, and removed other compilers. If I get bored, I might actually go through their changelogs for missing data.
https://docs.google.com/spreadsheet/pub?key=0AsJ4G9Bsq42ddHRjbmJNbldUbWxFckpITTFQUkVJUUE&output=html
if GCC wants to survive they are going to have to dump their unfree license and adopt one that is more business friendly. at the rate people are dumping GCC now only hobbyists will be using it in 5 years.
Yes, every person on Earth must dedicate their lives to corporate profit. All hail the corporate masters. We are but slaves to do your bidding. Down with freedom. Down with people. All hail the corporations!
It's crazy expensive. But it's good. It's the most typical compiler for BlueGene machines, for example. But you can buy a few gcc licenses for the same price.
You can buy an infinite number of GCC licenses for the same price, unless you mean something other than "a right to use the software" by "license". Do you mean "a few GCC support contracts"?
You can buy an infinite number of GCC licenses for the same price, unless you mean something other than...
No, I mean ... *woosh*
As a member of both the C and C++ standards committees
In this case, can you say anything about whether the Slashdot QOTD is true?
Top Ten Things Overheard At The ANSI C Draft Committee Meetings: (8) I'm on the committee and I *still* don't know what the hell #pragma is for.
It means he knows more about what he is talking about than most of the commenters here.
It means he knows more about what he is talking about than most of the commenters here.
You mean he read the article???
GCC's death
It's just that I'm sceptical about the news value of what gcc is *planning* to do next year. It's nice to hear that they actually have a road map, but I think that a thorough evaluation of what they have actually released would be more interesting.
E.g. a thorough and up-to-date comparison of gcc object code quality, quality of optimisations, quality of vectorisation, clarity of error messages, errors caught at compile time, speed of compilation with those of other compilers. Like Intel's compiler, Microsoft's compiler, and Clang.
Now that would be useful I think. Not stories about their road map. But that's just me.
Man, I never thought I'd see "bare metal language" and C++ in the same sentence.
BITS 16
start:
mov ax, 07C0h ; Set up 4K stack space after this bootloader
add ax, 288 ; (4096 + 512) / 16 bytes per paragraph
mov ss, ax
mov sp, 4096
mov ax, 07C0h ; Set data segment to where we're loaded
mov ds, ax
mov si, text_string ; Put string position into SI
call print_string ; Call our string-printing routine
jmp $ ; Jump here - infinite loop!
text_string db 'This is my cool new OS!', 0
print_string: ; Routine: output string in SI to screen
mov ah, 0Eh ; int 10h 'print char' function
lodsb ; Get character from string
cmp al, 0
je
int 10h ; Otherwise, print it
jmp
ret
times 510-($-$$) db 0 ; Pad remainder of boot sector with 0s
dw 0xAA55 ; The standard PC boot signature
Now THAT'S comedy!
Say you have a product that you're distributing as free software, but it's of such quality that it doesn't need much paid technical support. So how do you cover the cost of keeping a roof over your head while you develop this product?