Announcement
Collapse
No announcement yet.
GCC Is Currently Faster Than LLVM's Clang At Compiling The Linux Kernel
Collapse
X
-
traditionally clang lacked optimizations. optimizing compilers are slow, who would have thought?
- 1 like
-
LLVM has always been faster than gcc in the same way that Russia is faster at developing a Sars-CoV-2 vaccine than other countries: By just not doing some things. It was always obvious that gcc, when it took longer to compile code, usually did so for good reasons, as in: better optimization.
And accusations regarding GPLv3 are just ridiculous: The "leeches" here are clearly companies who want to make profits off other people's work without sharing alike. Ah, and btw., the large corporation that I work for does, of course, use gcc for compiling all of our commercial software. No reason not to do that.
- 5 likes
Leave a comment:
-
Originally posted by Guest View Post
Yep. I did look outside of FOSS-fanboyism-bubble, and then I realized, that GPL's viral aspect doesn't contribute to sustainable economy... It's just, people inside FOSS-bubble are so keen on "Freedom as in free beer", that the opposite opinion heavily touches their communism and/or socialism identity.
You, the most likely, wouldn't be serving a beer (software solutions) for free in your own time, and using your own resources to purchase the pub (computer, office, table, other tools, and paid software licenses), because somebody gave you a free table under GPL license. That's the viral aspect of GPL license,... if you touch a GPL software with yours final solution, you must give away your product for free.
And you say that people are not giving away beer on their spare time, and when it comes to beer that might be true. Still, a lot of people are doing voluntary work to improve society. But to be honest, most FLOSS development is paid development these days. You might have heard of a few companies that contributes to FLOSS, like IBM, Oracle, Amazon and even Microsoft (who could have seen that coming).
So, while even Microsoft came out saying their stands against GPL and Free Software was wrong, you decided to go the other way... must say that is impressive in a way!
- 1 like
Leave a comment:
-
Bug77 - You are putting words in my mouth. I never said people who give their work away for free are evil - I referred to corporations and GPL (the pyramid scheme) - both are legal abstractions.
Leave a comment:
-
Originally posted by waxhead View PostSeriously.... Compile time does not matter that much. It is the quality of the generated code that really matters.
But even so - I'm one of maintainers of a userspace C++ app (dosbox-staging) - we did performance tests to decide if we should keep using GCC or switch to Clang on Linux… and GCC was consistently producing slightly faster binaries, no matter the options we tried. It also generates more and better warnings than Clang, so it's a preferred choice for development and for release builds.
Clang on the other hand has better static analyser and has better integration with other tools (clangd + neovim work very well for example).
- 4 likes
Leave a comment:
-
Originally posted by Alexmitter View Post
The GPL secures user freedom, our all freedom so to say, it does not grant you as a developer to trade the user freedom for your own greed. And thats why the GCC will always be far superior to LLVM and that not just due to its architecture.
Truth be told people have different reasons for writing code.
Some people want their code to live forever and advance all of computing, proprietary or not, for them BSD style is a good licence.
Some people like copyleft but don't like the restrictions of the GPL, for them MPL type is preferred.
GPL has a religious aspect to it and many hail it but in reality true freedom does not come with a long list of restrictions.
Originally posted by Alexmitter View PostYou do not need to give away your product for free, you just need to provide the source code with the binary. RMS himself sold emacs and there is nothing wrong with it, you can still make a giant load of money from support and distributing those free software projects.Last edited by k1e0x; 03 September 2020, 12:21 PM.
- 1 like
Leave a comment:
-
Originally posted by darkoverlordofdata View PostSo, if the choice is between supporting corporate greed or supporting a pyramid scheme, I don't really feel like there is much freedom for ME in all of this. I'll stick with clang because 1) I prefer it and 2) of the 2 evils, greed is more familiar for me to deal with.
- 4 likes
Leave a comment:
-
So, if the choice is between supporting corporate greed or supporting a pyramid scheme, I don't really feel like there is much freedom for ME in all of this. I'll stick with clang because 1) I prefer it and 2) of the 2 evils, greed is more familiar for me to deal with.
- 1 like
Leave a comment:
-
Originally posted by waxhead View PostSeriously.... Compile time does not matter that much. It is the quality of the generated code that really matters.
Another thing is the quality of warnings and error messages. If you're taking 1.5x the time to compile, but in return you produce a message that allows the developer to fix it quickly, rather than guess, you're actually helping the development cycle.
Of course, taking an hour to compile a "hello world" program is a no-no, regardless.
- 4 likes
Leave a comment:
-
I've been lucky enough to be in the bar several times when management from the local brewery came in and bought everyone free rounds multiple times, I was leaving and they were still giving it away - that doesn't mean that I don't like free beer.
I have a Samsung phone (is that "corporate" enough) and it has GPL code, and as is required they mention that when you go into the "About" page in the phone settings:
"libgnustl_shared.so (The GNU C++ Library) GNU General Public License version 3 Version 3, 29 June 2007" - just one example.
Much as it's difficult to get away without having to pay for something it's sometimes difficult to get away from getting things for free.
We've heard you, thanks for that; I'll be leaving now.
- 2 likes
Leave a comment:
Leave a comment: