General topics

The Linux kernel will be compatible with the latest version of the C . language

The Linux kernel will be compatible with the latest version of the C . language

More advanced users of this operating system know that Linux is written in C and compatible with the already old version of this language marked with the symbol C89 (also known as ANSI X3.159-1989 or ANSI C), which was built more than 30 years ago. This prompted Linus Torvalds to switch to the newer version of the language (C11), which was released in 2011.

At first glance, it may seem like a huge adjustment. However, it is primarily a cosmetic procedure, as the C89 language is still used and supported. And since every C compiler is backward compatible with previous versions, no one today has any trouble compiling or running a program written in C89.

So you can ask yourself if it is worth it, because C89 does not support, for example, many of the newer functions that appeared in later versions of this language, older than those introduced in 2011. However, Torvald concluded He suggested that it was necessary due to some issues he encountered when trying to introduce some fixes to Linux to increase its security.

Check also:

It then turns out that C89 does not accept prepared corrections because it does not support certain functions. This is what prompted the Linux developer to make the decision to switch to C11. This modification is already being worked on and its implications will likely be announced soon during the introduction of one of the next releases of the Linux kernel.

.

Related Articles

Back to top button