It appears you have not yet registered with our community. To register please click here...

 
Go Back [M] > Madshrimps > WebNews
Torvalds moves Linux to C11 Torvalds moves Linux to C11
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Torvalds moves Linux to C11
Reply
 
Thread Tools
Old 1st March 2022, 04:30   #1
[M] Reviewer
 
Stefan Mileschin's Avatar
 
Join Date: May 2010
Location: Romania
Posts: 148,738
Stefan Mileschin Freshly Registered
Default 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
Stefan Mileschin is offline   Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Torvalds rants about security Stefan Mileschin WebNews 0 24th November 2017 18:16
“Linux” Isn’t Just Linux: 8 Pieces of Software That Make Up Linux Systems Stefan Mileschin WebNews 0 6th December 2013 07:04
Torvalds gives the thumbs up to SteamOS Stefan Mileschin WebNews 0 25th October 2013 07:26
Torvalds furious at latest Linux kernel Stefan Mileschin WebNews 0 11th June 2013 07:06
Torvalds upset that his kernel is too big Stefan Mileschin WebNews 0 18th July 2012 07:48
Nvidia to have a word with Torvalds Stefan Mileschin WebNews 0 22nd June 2012 07:23
NVIDIA responds to Linus Torvalds' critique: 'supporting Linux is important' Stefan Mileschin WebNews 0 20th June 2012 07:44
Linux Creator Linus Torvalds Receives One of World's Highest Technology Honors Stefan Mileschin WebNews 0 20th April 2012 06:38
Linux creator, Linus Torvalds, gives Windows 7 Thumbs Up! jmke WebNews 0 23rd October 2009 12:32
ATi moves into Linux, and simply doesnt get it jmke WebNews 0 25th September 2004 12:14

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT +1. The time now is 20:06.


Powered by vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO