Zack's Kernel News

Zack's Kernel News

Article from Issue 292/2025
Author(s):

Chronicler Zack Brown reports on "There Are Standards and Standards."

There Are Standards and Standards

One of the most bizarre areas of kernel development lies in the relationship between the kernel and the compiler. Since the creation of Linux at the start of the 1990s, there have been wars fought between the developers of these two projects. In one such case, Linus Torvalds refused to recognize any GNU C Compiler (GCC) version after a certain date, on the grounds that later versions produced bad machine code.

Relationships have become a lot less strained between the two projects since then. However, the question of mending fences does sometimes arise. And it's not always clear whether a problem in the Linux kernel would be best solved by changing the kernel source code or changing the compiler source code. Sometimes the best answer may be simply whatever avoids war.

Recently, Vincent Mailhol tried to simplify some kernel code, relying on the features of the C11 standard for the C programming language that Linux is written in.

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Kernel News

    This month Zack discusses adapting to COVID-19, and l33t security. 

  • Kernel News

    Chronicler Zack Brown reports on speeding up the dentry cache.

  • Kernel News

    The month Zack Brown reports on wonky typecasting.

  • Kernel News

    In kernel news: Rust in Linux; and Compiler and Kernel Frenemies.

  • Perl: Ptrace

    Linux lets users watch the kernel at work with a little help from Ptrace, a tool that both debuggers and malicious process kidnappers use. A CPAN module introduces this technology to Perl and, if this is not enough, C extensions add functionality.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News