3 ms·
For the record, I don't have enough karma to downvote. >Linux is not inextricably tied to any single language It is pretty tightly coupled to GCC, which, as y
by acconsta 11y ago
For the record, I don't have enough karma to downvote.
>Linux is not inextricably tied to any single language
It is pretty tightly coupled to GCC, which, as you know, is a C compiler. Some people are working on supporting Clang, but last I heard they haven't succeeded.
It would certainly be interesting to see someone link Linux to Rust code though.
- kibwen 11y agoThe C ABI is de facto standardized, the compiler in use doesn't matter. Rust code can expose a C ABI and be compiled into a linkable artifact, and that means that C code can use it as though it were an artifact compiled by any C compiler.
- acconsta 11y agoIt's not quite plug-and-play, but it does seem like there's been some progress. https://lwn.net/Articles/644681/ https://lwn.net/Articles/644681/
- zurn 11y agoLinux has been built with small modifications under tcc, icc and llvm. Linus doesn't want it to be tightly coupled to GCC. The LLVM build patchset is being actively maintained, here hare slides from February: https://events.linuxfoundation.org/sites/events/files/slides/2015-Collab-LLVMLinux_0.pdf https://events.linuxfoundation.org/sites/events/files/slides...
- acconsta 11y agoYeah, I get the impression Linus fucking hates GCC :P That's good though. Compiler freedom is better for everyone.