5 ms·
4. Some would like to use th we same compiler for everything. Right now, building the Rust bit of Linux requires LLVM. Why shouldn't you be able to build everyt
by phkahler 4y ago
4. Some would like to use th we same compiler for everything. Right now, building the Rust bit of Linux requires LLVM. Why shouldn't you be able to build everything using gcc alone?
- duped 4y agoBecause they're different languages? It's more insane to me that one wants the same tool to do everything rather than have different tools for different tasks. Like should Perl be compiled with GCC just to satisfy that requirement because it's used during the kernel build? That's ridiculous!
- azov 4y agoYeah, you start down this path and one day you end up with compilers for Go, or Ada, or Fortran, or who knows what else. How ridiculous would that be! PS. GCC stands for “GNU Compiler Collection”. All of the above is already there.
- deleted 4y ago[deleted]
- shakow 4y agoGCC already compiles quite a lot of languages, why not add one to the toolbelt if contributors feel like it?
- duped 4y agoEven though I think it'd be a bad idea for users of the language to rely on gcc to compile their Rust code, what I'm replying to is the idea that having one compiler for all the languages used in a project is a good idea in the first place. I don't think you should expect or want that.