Originally posted by mrugiero
View Post
Announcement
Collapse
No announcement yet.
Apple Originally Tried To Give GPL'ed LLVM To GCC
Collapse
X
-
Originally posted by mrugiero View PostThe modularity makes it easier, AFAIK. You only need to care about the lexer and the parser, everything else is already done and can be plugged.
Comment
-
Originally posted by Annabel View PostI would like to know why this is easier with llvm, someone can do the same for GCC. What's so much easier in LLVM?
As a matter of fact, in my engineering school, we have compilation classes in second year, and we must make a compiler from a random language (in my year it was Ruby, this year I think they have something not very far from VHDL) to LLVM assembly.
Comment
-
Originally posted by doom_Oo7 View PostYou just need to make something that parses your language to LLVM's very readable and easy "super-asm".
As a matter of fact, in my engineering school, we have compilation classes in second year, and we must make a compiler from a random language (in my year it was Ruby, this year I think they have something not very far from VHDL) to LLVM assembly.
Comment
-
Originally posted by storm_st View PostSo, what exactly prevent LLVM developers all that 8 years from "plugging". I see only plug Apples Objective-C and lately few years attempts to do some C/C++ clang things. No OpenMP plugging (actually only related talk every article, it almost there, all that years, Intel, shmintel, in fact you cannot compile average OpenMP code yet, early experiments), no endless GCC arch plugged. Deadly GPL monster curse that plug sockets ? When that sacred god blessed "better architecture" will actually shine? In 2020? 2050?.
That is a lot of languages. More than GCC. And it is much easier to integrate a new language into llvm. You usually don't have to write asm backends for every architecture in gcc though, but you have to write to their internal codepaths for language structures if you want to implement a new language for it, which is more cumbersome than just translating to a common asm surrogate.
Comment
-
Interesting information on the events leading to the current state, thanks Michael. I have spent a couple of hours digging through follow-up mails to understand what happened. The sentiment from GCC developers did seem constructive and positive. The ones that I found shedding some new light (except the replies to the already posted links in the article) were these:
demonstrating that four months later there was no copyright transfer, and no re-licensing. After that I only found release notices for LLVM with no replies and no mention of copyright or licensing:
Then finally (half year after the introduction of GPL version 3) one short mail making it clear that LLVM would never be part of GCC:
I may have missed something, but it seems to me that the copyright transfer policy of FSF was the main obstacle. Very grateful if others have additional information that can shed light on this. Personally, I believe FSF should abolish the practise of copyright transfer, requiring the + after the GPL version automatically gives them the right to re-license anyway. Of course, copyright also empowers the FSF to enforce compliance with the license, but I am leaning towards that not weighing up for the draw-backs of having copyright transfer agreements.
Comment
-
http://phoronix.com/forums/showthrea...170#post392170 ?
Or, the GCC docs, looks like 6 or 7 officially supported (including C/C++). Don't know about 3rd party.
There are a number of LLVM-based projects here, not all programming languages. Don't really feel like digging through, but feel free to do so at your leisure.
Comment
-
Originally posted by Del_ View PostPersonally, I believe FSF should abolish the practise of copyright transfer, requiring the + after the GPL version automatically gives them the right to re-license anyway.
Comment
-
Originally posted by Nobu View Posthttp://phoronix.com/forums/showthrea...170#post392170 ?
Or, the GCC docs, looks like 6 or 7 officially supported (including C/C++). Don't know about 3rd party.
There are a number of LLVM-based projects here, not all programming languages. Don't really feel like digging through, but feel free to do so at your leisure.
Comment
Comment