| Thread Tools |
1st March 2022, 05:30 | #1 |
[M] Reviewer Join Date: May 2010 Location: Romania
Posts: 153,575
| Torvalds moves Linux to C11 Old one out-of-date, but this one goes to 11 Linus Torvalds is about to shift Linux from a version of C which is so old it was written before the fall of the Soviet Union – C89. Torvalds has said that it is time to move to something more modern starting with kernel 5.18. Linux had planned to move to a newer standard eventually with C99 being the next version. However, a recent patch to a security problem revealed that there could be problems with C99. In order to patch a potential security problem with Linux's linked-list primitive speculative-execution functions, it was found that C99 would require the iterator must be declared outside the loop which would expose it to another security problem. Since C99 is as popular as Vladimir Putin in Ukraine, it was agreed to skip it and use C11. Backwards compatibility with most compilers like gcc should allow for an easy transition of most of the code. It is not as big a transition as it may seem as C89 still has almost universal support and any C compiler is backwards compatible with earlier versions. Developers should not have any trouble compiling or running a C89 program. So, a C11 compliant compiler won't have any trouble with any C89 legacy code. https://fudzilla.com/news/54441-torv...s-linux-to-c11 |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Torvalds rants about security | Stefan Mileschin | WebNews | 0 | 24th November 2017 19:16 |
“Linux” Isn’t Just Linux: 8 Pieces of Software That Make Up Linux Systems | Stefan Mileschin | WebNews | 0 | 6th December 2013 08:04 |
Torvalds gives the thumbs up to SteamOS | Stefan Mileschin | WebNews | 0 | 25th October 2013 08:26 |
Torvalds furious at latest Linux kernel | Stefan Mileschin | WebNews | 0 | 11th June 2013 08:06 |
Torvalds upset that his kernel is too big | Stefan Mileschin | WebNews | 0 | 18th July 2012 08:48 |
Nvidia to have a word with Torvalds | Stefan Mileschin | WebNews | 0 | 22nd June 2012 08:23 |
NVIDIA responds to Linus Torvalds' critique: 'supporting Linux is important' | Stefan Mileschin | WebNews | 0 | 20th June 2012 08:44 |
Linux Creator Linus Torvalds Receives One of World's Highest Technology Honors | Stefan Mileschin | WebNews | 0 | 20th April 2012 07:38 |
Linux creator, Linus Torvalds, gives Windows 7 Thumbs Up! | jmke | WebNews | 0 | 23rd October 2009 13:32 |
ATi moves into Linux, and simply doesnt get it | jmke | WebNews | 0 | 25th September 2004 13:14 |
Thread Tools | |
| |