Re:Linux 6.0 arrives with performance improvements and more ...
by lionkor on Thursday August 18, 2022 @01:22AM
(#32505608)
If there is a specification, one can write code for a version of that specification, and later down the line someone can build a compiler for it according to the specification - youre implementation-independent. Seems important to me.
[ Parent
| on HN ]
Re:Linux 6.0 arrives with performance improvements and more ...
by mustache_kimono on Monday August 22, 2022 @06:38PM
(#32558187)
> Seems important to me.
Maybe I'm dense, but why is this necessary, or specifically helpful, re: kernel development? As I understand it, the Linux kernel doesn't assiduously follow the C spec (it uses many GNU specific extensions). And C spec itself is often not fully implemented on many platforms (see C11 Annex K). If the answer is "It could break", well, Rust probably does more to prevent breakage than any language I know. Definitely more than the C spec ever has.
Would it be nice for the devs to take an extended holiday to write a mind-numbing technical document for the benefit of 2-3 teams working on alternative compilers? Maybe? But, also, maybe not.
Re:Linux 6.0 arrives with performance improvements and more ...
by steveklabnik on Monday August 22, 2022 @08:59PM
(#32559303)
Linus also famously hates parts of the C spec and so actively does not follow it: https://news.ycombinator.com/item?id=17262643