5 ms·
The embedded compiler vendors, UNIX and consoles are quite happy with it. How much do you think they contribute back upstream regarding ISO compliance outside
by pjmlp 2y ago
The embedded compiler vendors, UNIX and consoles are quite happy with it.
How much do you think they contribute back upstream regarding ISO compliance outside LLVM backend for their hardware and OS?
- mort96 2y agoEmbedded compiler vendors and UNIXes want a possibly slightly patched C or C++ compiler, maybe with an extra back-end bolted on. I'm talking about use-cases like Rust and Zig and Swift, projects which want a solid optimizing back-end but their own front-end and tooling.
- pjmlp 2y agoAnd FOSS folks most likely would like to enjoy those patches as well on their installations.
- School-Cotton 2y agoAnd they do! You can choose not to contribute your changes back to permissively-licensed software, but in actual practice most people do contribute them. It's not like the Rust compiler is proprietary software with their own closed-source fork of LLVM...
- trelane 2y ago> You can choose not to contribute your changes back to permissively-licensed software, but in actual practice most people do contribute them. They contribute some things, sure. But the also don't contribute some things. It is hard to know how much because it's kept secret from all of us, even their own customers. > "It's not like the Rust compiler is proprietary software with their own closed-source fork of LLVM..." Rust no, hut there are a lot of proprietary, semi-incompatible proprietary forks out there.
- mort96 2y agoI haven't advocated for re-licensing GCC to be permissively licensed. And patching GCC is necessarily going to be much easier for vendors than to build a new C front-end which generates GCC IR. So I'm not sure what difference you think what I'm proposing would make with regard to your concerns.
- vbezhenar 2y agogccrs is a rust implementation for gcc. Just because Rust developers don't want their users to be fully free doesn't mean there are any problems with gcc. And clang is developed by Apple which is a huge warning sign by itself.
- bigstrat2003 2y agoRust developers don't "not want their users to be fully free", they disagree with you on which license is best. Don't deliberately phrase people's motivations in an uncharitable way, it's obnoxious as hell.
- mort96 2y agoAnd gccrs is not really very widely used and is not the "official" Rust compiler. The Rust project chose to base their compiler on LLVM, for good technical reasons. That's bad news for the GCC project.
- tmiku 2y agoI thought that most FOSS projects took multiple compiler implementations as a sign of a healthy language environment, without much prestige associated with being the "premier" compiler and instead having more of an it-takes-a-village attitude. Granted, I'm mostly extrapolating from Go and Python here - is it a sharper divide in the Rust community?
- mort96 2y agoNo, and I think the gccrs project is great and a sign that the language is maturing. I'm just saying that LLVM was chosen instead of GCC to build the official Rust compiler for very good technical reasons, and that ought to worry GCC.
- viraptor 2y agoIt's an early implementation of a part of rust. It's not even close to being able to use as the daily compiler.
- 2y ago
- duped 2y agoIt's not like GCC or the embedded toolchains are a shining beacon of ISO compliance... and if you mean video game consoles, are any of them using GCC today? Sony and Nintendo are both LLVM and Microsoft is Microsoft
- pjmlp 2y agoThe difference being that vendors forks not compliant with GPL can be legally asked for the changes they haven't sent upstream.
- bobmcnamara 2y agoApple, Arm, OpenBSD, FreeBSD have all switched to Clang.
- pjmlp 2y agoSwichting wasn't the point.
- johnisgood 2y agoWhy did OpenBSD switch to clang? Licensing issues?
- bobmcnamara 2y agoCould be. They stuck with GPL2 GCC 4.x for a while. IIRC, they never switched to GPL3 GCC5+
- School-Cotton 2y agoWhat exactly do you mean by "UNIX"? Commercial UNIX vendors other than Apple have basically a rounding error from 0% of market share.
- anthk 2y agoAre you from 2001? Sorry, but Apple at servers' market it's non-existent. RH and Canonical make tons of money thanks to being THE platform of the ubiquituous internet. Support is not free.
- mort96 2y agoAre you calling Linux a UNIX? I mean GNU/Linux is certainly a UNIX-like system, but aren't "UNIXes" typically used to refer to operating systems which stem from AT&T's UNIX, such as the BSDs and Solaris and HP-UX and the like? GNU's Not UNIX after all
- johnisgood 2y agoI have fond memories associated with OpenSolaris. Oracle ruined it. I have not tried OpenIndiana, however.
- anthk 2y agoGNU isn't Unix as NT isn't Win32. Gnu promotes Unix, but also promotes Emacs on top. NT can run Win32 on top of it, but there's far more than Win32 with NT systems. Just get ReactOS and open the NT object explorer under explorer.exe. Far more advanced than Windows 95/98.
- mort96 2y agoWin32 is an API, while UNIX, NT and GNU are all operating systems made by AT&T, Microsoft and the GNU Project respectively. I agree that the GNU operating system isn't the UNIX operating system, and I agree that the NT operating system isn't the Win32 API, but I have no idea what comparison you're trying to draw. It almost sounds like you think UNIX is an API like Win32, and that GNU is an operating system which "implements UNIX" like NT is an operating system which "implements Win32"? Are you confusing UNIX with POSIX? GNU was made to replace UNIX, not to promote it.