Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The universe seems neither benign nor hostile, merely indifferent. -- Sagan


devel / comp.lang.c / Re: Linus Torvalds prepares to move the Linux kernel to modern C

SubjectAuthor
* Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
+* Re: Linus Torvalds prepares to move the Linux kernel to modern CLynn McGuire
|+* Re: Linus Torvalds prepares to move the Linux kernel to modern Crthiebaud
||`* Re: Linus Torvalds prepares to move the Linux kernel to modern CLynn McGuire
|| +- Re: Linus Torvalds prepares to move the Linux kernel to modern CBart
|| +* Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
|| |`* Re: Linus Torvalds prepares to move the Linux kernel to modern CDavid Brown
|| | `* Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
|| |  `* Re: Linus Torvalds prepares to move the Linux kernel to modern CDavid Brown
|| |   +- Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
|| |   `- Re: Linus Torvalds prepares to move the Linux kernel to modern CVir Campestris
|| `- Re: Linus Torvalds prepares to move the Linux kernel to modern CScott Lurndal
|+* Re: Linus Torvalds prepares to move the Linux kernel to modern CKaz Kylheku
||`* Re: Linus Torvalds prepares to move the Linux kernel to modern CLynn McGuire
|| `- Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
|+- Re: Linus Torvalds prepares to move the Linux kernel to modern CManu Raju
|`- Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
+* Re: Linus Torvalds prepares to move the Linux kernel to modern CLynn McGuire
|`* Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
| +* Re: Linus Torvalds prepares to move the Linux kernel to modern CMalcolm McLean
| |+* Re: Linus Torvalds prepares to move the Linux kernel to modern CBen Bacarisse
| ||`- Re: Linus Torvalds prepares to move the Linux kernel to modern CManfred
| |+- Re: Linus Torvalds prepares to move the Linux kernel to modern CScott Lurndal
| |`- Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
| +* Re: Linus Torvalds prepares to move the Linux kernel to modern CBart
| |+* Re: Linus Torvalds prepares to move the Linux kernel to modern CBen Bacarisse
| ||`* Re: Linus Torvalds prepares to move the Linux kernel to modern CBart
| || +- Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
| || +- Re: Linus Torvalds prepares to move the Linux kernel to modern CBen Bacarisse
| || +- Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
| || `* Re: Linus Torvalds prepares to move the Linux kernel to modern CDavid Brown
| ||  `* Re: Linus Torvalds prepares to move the Linux kernel to modern CBen Bacarisse
| ||   +* Re: Linus Torvalds prepares to move the Linux kernel to modern CBart
| ||   |+- Re: Linus Torvalds prepares to move the Linux kernel to modern CMalcolm McLean
| ||   |`* Re: Linus Torvalds prepares to move the Linux kernel to modern CBen Bacarisse
| ||   | +* Re: Linus Torvalds prepares to move the Linux kernel to modern CMalcolm McLean
| ||   | |`* Re: Linus Torvalds prepares to move the Linux kernel to modern CBen Bacarisse
| ||   | | `* Re: Linus Torvalds prepares to move the Linux kernel to modern CMalcolm McLean
| ||   | |  `- Re: Linus Torvalds prepares to move the Linux kernel to modern CBen Bacarisse
| ||   | `* Re: Linus Torvalds prepares to move the Linux kernel to modern CDavid Brown
| ||   |  +* Re: Linus Torvalds prepares to move the Linux kernel to modern CMalcolm McLean
| ||   |  |`- Re: Linus Torvalds prepares to move the Linux kernel to modern CDavid Brown
| ||   |  `* Re: Linus Torvalds prepares to move the Linux kernel to modern CBen Bacarisse
| ||   |   `* Re: Linus Torvalds prepares to move the Linux kernel to modern CDavid Brown
| ||   |    `- Re: Linus Torvalds prepares to move the Linux kernel to modern CBen Bacarisse
| ||   `* Re: Linus Torvalds prepares to move the Linux kernel to modern CDavid Brown
| ||    `* Re: Linus Torvalds prepares to move the Linux kernel to modern CBen Bacarisse
| ||     `- Re: Linus Torvalds prepares to move the Linux kernel to modern CDavid Brown
| |+* Re: Linus Torvalds prepares to move the Linux kernel to modern Crthiebaud
| ||`* Re: Linus Torvalds prepares to move the Linux kernel to modern CBart
| || +* Re: Linus Torvalds prepares to move the Linux kernel to modern CLynn McGuire
| || |+- Re: Linus Torvalds prepares to move the Linux kernel to modern CGary R. Schmidt
| || |`- Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
| || `* Re: Linus Torvalds prepares to move the Linux kernel to modern CManfred
| ||  +- Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
| ||  +* Re: Linus Torvalds prepares to move the Linux kernel to modern CBart
| ||  |`* Re: Linus Torvalds prepares to move the Linux kernel to modern CMalcolm McLean
| ||  | `- Re: Linus Torvalds prepares to move the Linux kernel to modern CBart
| ||  `* Re: Linus Torvalds prepares to move the Linux kernel to modern CMalcolm McLean
| ||   +- Re: Linus Torvalds prepares to move the Linux kernel to modern CManfred
| ||   `* Re: Linus Torvalds prepares to move the Linux kernel to modern CLew Pitcher
| ||    +* Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
| ||    |`* Re: Linus Torvalds prepares to move the Linux kernel to modern CScott Lurndal
| ||    | `* Re: Linus Torvalds prepares to move the Linux kernel to modern CKeith Thompson
| ||    |  `* Re: Linus Torvalds prepares to move the Linux kernel to modern CScott Lurndal
| ||    |   +- Re: Linus Torvalds prepares to move the Linux kernel to modern CBart
| ||    |   `* Re: Linus Torvalds prepares to move the Linux kernel to modern CKeith Thompson
| ||    |    `* Re: Linus Torvalds prepares to move the Linux kernel to modern CScott Lurndal
| ||    |     `- Re: Linus Torvalds prepares to move the Linux kernel to modern CMalcolm McLean
| ||    +- Re: Linus Torvalds prepares to move the Linux kernel to modern CBart
| ||    `* Re: Linus Torvalds prepares to move the Linux kernel to modern CVir Campestris
| ||     +- Re: Linus Torvalds prepares to move the Linux kernel to modern CMalcolm McLean
| ||     `* Re: Linus Torvalds prepares to move the Linux kernel to modern CBart
| ||      `* Re: Linus Torvalds prepares to move the Linux kernel to modern CDavid Brown
| ||       `- Re: Linus Torvalds prepares to move the Linux kernel to modern CBart
| |`- Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
| `* Re: Linus Torvalds prepares to move the Linux kernel to modern CScott Lurndal
|  +* Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
|  |`* Re: Linus Torvalds prepares to move the Linux kernel to modern CScott Lurndal
|  | `* Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
|  |  `- Re: Linus Torvalds prepares to move the Linux kernel to modern CChris M. Thomasson
|  `- Re: Linus Torvalds prepares to move the Linux kernel to modern CTim Rentsch
`* Re: Linus Torvalds prepares to move the Linux kernel to modern CChris M. Thomasson
 +* Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
 |`* Re: Linus Torvalds prepares to move the Linux kernel to modern CChris M. Thomasson
 | `- Re: Linus Torvalds prepares to move the Linux kernel to modern CBonita Montero
 `- Re: Linus Torvalds prepares to move the Linux kernel to modern CBen Bacarisse

Pages:1234
Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svj1m6$rue$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20605&group=comp.lang.c#20605

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.programming.threads,comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Mon, 28 Feb 2022 18:44:39 +0100
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <svj1m6$rue$2@dont-email.me>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 28 Feb 2022 17:44:38 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="cd223f255effb153df4a75b2a2ab0f3a";
logging-data="28622"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194uwE/wxpvqf2XHXqONn/CYgW/OnxVPCM="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:RJxpGAmn9dI8KTulAQyUsw7YYA4=
In-Reply-To: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
Content-Language: de-DE
 by: Bonita Montero - Mon, 28 Feb 2022 17:44 UTC

Am 28.02.2022 um 17:43 schrieb Amine Moulay Ramdane:
> Hello,
>
>
> Linus Torvalds prepares to move the Linux kernel to modern C
>
> The Linux kernel's foundation is the ancient C89 standard of C. Now, Torvalds has decided to upgrade to 2011's more modern C11 standard.
>
> Read more here:
>
> https://www.zdnet.com/article/linus-torvalds-prepares-to-move-the-linux-kernel-to-modern-c/?ftag=COS-05-10aaa0h&utm_campaign=trueAnthem%3A%20Trending%20Content&utm_medium=trueAnthem&utm_source=facebook&fbclid=IwAR1oF1ysACG28YRYJnnYlt7oCzfRhXSUePOKd4xsycb3F8GGwxIfeAXZI8Y
>
>
> Thank you,
> Amine Moulay Ramdane.

C isn't a modern language, no matter which standard.

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svjsnm$dnp$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20609&group=comp.lang.c#20609

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: lynnmcgu...@gmail.com (Lynn McGuire)
Newsgroups: comp.programming.threads,comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Mon, 28 Feb 2022 19:26:13 -0600
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <svjsnm$dnp$1@dont-email.me>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 1 Mar 2022 01:26:16 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1241cba99d387c01e4adbb4a6c30a2e4";
logging-data="14073"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19NrDp0q5qW7XTfLpB8Y8Ey"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:Y0sm1JrTYryZx4pI68EZt5GBy1I=
In-Reply-To: <svj1m6$rue$2@dont-email.me>
Content-Language: en-US
 by: Lynn McGuire - Tue, 1 Mar 2022 01:26 UTC

On 2/28/2022 11:44 AM, Bonita Montero wrote:
> Am 28.02.2022 um 17:43 schrieb Amine Moulay Ramdane:
>> Hello,
>>
>>
>> Linus Torvalds prepares to move the Linux kernel to modern C
>>
>> The Linux kernel's foundation is the ancient C89 standard of C. Now,
>> Torvalds has decided to upgrade to 2011's more modern C11 standard.
>>
>> Read more here:
>>
>> https://www.zdnet.com/article/linus-torvalds-prepares-to-move-the-linux-kernel-to-modern-c/?ftag=COS-05-10aaa0h&utm_campaign=trueAnthem%3A%20Trending%20Content&utm_medium=trueAnthem&utm_source=facebook&fbclid=IwAR1oF1ysACG28YRYJnnYlt7oCzfRhXSUePOKd4xsycb3F8GGwxIfeAXZI8Y
>>
>>
>>
>> Thank you,
>> Amine Moulay Ramdane.
>
> C isn't a modern language, no matter which standard.

Sorry but you are wrong. There is more C code running out there than
anything else. Just about every real time system is running C. Linux
is totally written in C code. All engine management systems are running
C. Etc, etc, etc.

Lynn

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svjsuj$eoc$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20610&group=comp.lang.c#20610

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: thiebaud...@aol.com (rthiebaud)
Newsgroups: comp.programming.threads,comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Mon, 28 Feb 2022 20:29:55 -0500
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <svjsuj$eoc$1@dont-email.me>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svjsnm$dnp$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 1 Mar 2022 01:29:55 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c255aa6d0baa85106b3398a3031ed992";
logging-data="15116"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/oYcruAdnhhGmmwzdNW+SBsqk2W+GkZ/s="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:DPJzA8PV3TH9LiPrvpGCdBt5XmY=
In-Reply-To: <svjsnm$dnp$1@dont-email.me>
Content-Language: en-US
 by: rthiebaud - Tue, 1 Mar 2022 01:29 UTC

On 2/28/22 20:26, Lynn McGuire wrote:
> On 2/28/2022 11:44 AM, Bonita Montero wrote:
>> Am 28.02.2022 um 17:43 schrieb Amine Moulay Ramdane:
>>> Hello,
>>>
>>>
>>> Linus Torvalds prepares to move the Linux kernel to modern C
>>>
>>> The Linux kernel's foundation is the ancient C89 standard of C. Now,
>>> Torvalds has decided to upgrade to 2011's more modern C11 standard.
>>>
>>> Read more here:
>>>
>>> https://www.zdnet.com/article/linus-torvalds-prepares-to-move-the-linux-kernel-to-modern-c/?ftag=COS-05-10aaa0h&utm_campaign=trueAnthem%3A%20Trending%20Content&utm_medium=trueAnthem&utm_source=facebook&fbclid=IwAR1oF1ysACG28YRYJnnYlt7oCzfRhXSUePOKd4xsycb3F8GGwxIfeAXZI8Y
>>>
>>>
>>>
>>> Thank you,
>>> Amine Moulay Ramdane.
>>
>> C isn't a modern language, no matter which standard.
>
> Sorry but you are wrong.  There is more C code running out there than
> anything else.  Just about every real time system is running C.  Linux
> is totally written in C code.  All engine management systems are running
> C.  Etc, etc, etc.
>
> Lynn

How does the number of lines of C running compare to the number of lines
of Cobol running?

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<20220228172933.551@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20611&group=comp.lang.c#20611

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Followup: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: 480-992-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.programming.threads,comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Followup-To: comp.lang.c
Date: Tue, 1 Mar 2022 01:37:29 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <20220228172933.551@kylheku.com>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svjsnm$dnp$1@dont-email.me>
Injection-Date: Tue, 1 Mar 2022 01:37:29 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="50e47e9e837187eddce4e8f72d2619a5";
logging-data="15974"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+YcgtzCJVT0RUVZErD1lyx35qiYwnu/tg="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:Z8kwED0wJuJKdPCFyFenBQhLUSo=
 by: Kaz Kylheku - Tue, 1 Mar 2022 01:37 UTC

On 2022-03-01, Lynn McGuire <lynnmcguire5@gmail.com> wrote:
>> C isn't a modern language, no matter which standard.
>
> Sorry but you are wrong. There is more C code running out there than
> anything else. Just about every real time system is running C. Linux
> is totally written in C code. All engine management systems are running
> C. Etc, etc, etc.

None of that refutes "C is not modern". Quite the opposite; a language
that is popular must be modern if, in spite of popularity, there isn't a
lot of code written in it yet. Oceans of code tend to confirm lack of
modernity.

The statement is correct; C is not a modern language. The phrase "modern
C" doesn't imply otherwise; it just refers to a dialect that is new
relative to other dialects of C. Some things have been modernized due to
some people's expectations that come from contact with other new things.

In other respects, it's an oxymoron, like "modern Fortran".

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svk03m$3ac$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20613&group=comp.lang.c#20613

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: lynnmcgu...@gmail.com (Lynn McGuire)
Newsgroups: comp.programming.threads,comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Mon, 28 Feb 2022 20:23:49 -0600
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <svk03m$3ac$1@dont-email.me>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svjsnm$dnp$1@dont-email.me>
<svjsuj$eoc$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 1 Mar 2022 02:23:50 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1241cba99d387c01e4adbb4a6c30a2e4";
logging-data="3404"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19iLQM18HX3v3INs3Ml/sY+"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:B/NUSZbZbitvIA9b1sACVcM+YDA=
In-Reply-To: <svjsuj$eoc$1@dont-email.me>
Content-Language: en-US
 by: Lynn McGuire - Tue, 1 Mar 2022 02:23 UTC

On 2/28/2022 7:29 PM, rthiebaud wrote:
> On 2/28/22 20:26, Lynn McGuire wrote:
>> On 2/28/2022 11:44 AM, Bonita Montero wrote:
>>> Am 28.02.2022 um 17:43 schrieb Amine Moulay Ramdane:
>>>> Hello,
>>>>
>>>>
>>>> Linus Torvalds prepares to move the Linux kernel to modern C
>>>>
>>>> The Linux kernel's foundation is the ancient C89 standard of C. Now,
>>>> Torvalds has decided to upgrade to 2011's more modern C11 standard.
>>>>
>>>> Read more here:
>>>>
>>>> https://www.zdnet.com/article/linus-torvalds-prepares-to-move-the-linux-kernel-to-modern-c/?ftag=COS-05-10aaa0h&utm_campaign=trueAnthem%3A%20Trending%20Content&utm_medium=trueAnthem&utm_source=facebook&fbclid=IwAR1oF1ysACG28YRYJnnYlt7oCzfRhXSUePOKd4xsycb3F8GGwxIfeAXZI8Y
>>>>
>>>>
>>>>
>>>> Thank you,
>>>> Amine Moulay Ramdane.
>>>
>>> C isn't a modern language, no matter which standard.
>>
>> Sorry but you are wrong.  There is more C code running out there than
>> anything else.  Just about every real time system is running C.  Linux
>> is totally written in C code.  All engine management systems are
>> running C.  Etc, etc, etc.
>>
>> Lynn
>
> How does the number of lines of C running compare to the number of lines
> of Cobol running?

Not even close, C big time the winner.

Every single vehicle running in the USA has several cpus running 20
million to 30 million lines of C code.

Every single Android cell phone has a Linux operating system written in
C. Every single Apple cell phone has an iOS operating system written in C.

All Microsoft operating systems are written in C. All Apple PC
operating systems are written in C. Linux is written in C. Unix is
written in C. Etc, etc, etc.

Lynn

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svk0ed$4uk$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20614&group=comp.lang.c#20614

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: lynnmcgu...@gmail.com (Lynn McGuire)
Newsgroups: comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Mon, 28 Feb 2022 20:29:31 -0600
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <svk0ed$4uk$1@dont-email.me>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svjsnm$dnp$1@dont-email.me>
<20220228172933.551@kylheku.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 1 Mar 2022 02:29:33 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1241cba99d387c01e4adbb4a6c30a2e4";
logging-data="5076"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+7DH0/2LEgIziwyBX+EeLa"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:DnPA8uoSgXY98IFs931uCaR7zrU=
In-Reply-To: <20220228172933.551@kylheku.com>
Content-Language: en-US
 by: Lynn McGuire - Tue, 1 Mar 2022 02:29 UTC

On 2/28/2022 7:37 PM, Kaz Kylheku wrote:
> On 2022-03-01, Lynn McGuire <lynnmcguire5@gmail.com> wrote:
>>> C isn't a modern language, no matter which standard.
>>
>> Sorry but you are wrong. There is more C code running out there than
>> anything else. Just about every real time system is running C. Linux
>> is totally written in C code. All engine management systems are running
>> C. Etc, etc, etc.
>
> None of that refutes "C is not modern". Quite the opposite; a language
> that is popular must be modern if, in spite of popularity, there isn't a
> lot of code written in it yet. Oceans of code tend to confirm lack of
> modernity.
>
> The statement is correct; C is not a modern language. The phrase "modern
> C" doesn't imply otherwise; it just refers to a dialect that is new
> relative to other dialects of C. Some things have been modernized due to
> some people's expectations that come from contact with other new things.
>
> In other respects, it's an oxymoron, like "modern Fortran".

So C 17 is not a modern language ? C has been modernized several times,
89, 99, 11, and 17. I started writing C code in 1985 and it has changed
quite a bit since then.
https://en.wikipedia.org/wiki/C99
and
https://en.wikipedia.org/wiki/C11_(C_standard_revision)
and
https://en.wikipedia.org/wiki/C17_(C_standard_revision)
Lynn

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svk9u1$v3n$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20619&group=comp.lang.c#20619

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: MR...@invalid.invalid (Manu Raju)
Newsgroups: comp.programming.threads,comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Tue, 1 Mar 2022 05:11:29 +0000
Organization: Aioe.org NNTP Server
Lines: 16
Message-ID: <svk9u1$v3n$1@dont-email.me>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svjsnm$dnp$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 1 Mar 2022 05:11:29 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="22006c070aa01e22ca447f2f1c748dc6";
logging-data="31863"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/bGhzGE3zA6qbJ9+bbdF0qmztqFw1fU8I="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101
Thunderbird/68.12.1
Cancel-Lock: sha1:tL8/Zsubcc9Sf1rBYojV8K7z/0E=
In-Reply-To: <svjsnm$dnp$1@dont-email.me>
Content-Language: en-GB
 by: Manu Raju - Tue, 1 Mar 2022 05:11 UTC

On 01/03/2022 01:26, Lynn McGuire wrote:
>
>
> Sorry but you are wrong.  There is more C code running out there than
> anything else.  Just about every real time system is running C.  Linux
> is totally written in C code.  All engine management systems are
> running C.  Etc, etc, etc.

This is a silly argument. C was created before anything else suitable
for such things existed. So no wonder  "more C code running out there
than anything else" as you put it.

People are normally slower to make changes; They always say "if it is
working why fix it"?

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svki58$cpn$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20622&group=comp.lang.c#20622

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.programming.threads,comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Tue, 1 Mar 2022 08:31:56 +0100
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <svki58$cpn$1@dont-email.me>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svjsnm$dnp$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 1 Mar 2022 07:31:52 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="5810512e555e646a4ebb234d1b5db876";
logging-data="13111"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lf6Ga4KGnyVVPtQhcT9wjtX1u0IfGq8Y="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:u94crYdJXZMpO2ZHAzSofp0Hc74=
In-Reply-To: <svjsnm$dnp$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Tue, 1 Mar 2022 07:31 UTC

Am 01.03.2022 um 02:26 schrieb Lynn McGuire:
> On 2/28/2022 11:44 AM, Bonita Montero wrote:
>> Am 28.02.2022 um 17:43 schrieb Amine Moulay Ramdane:
>>> Hello,
>>>
>>>
>>> Linus Torvalds prepares to move the Linux kernel to modern C
>>>
>>> The Linux kernel's foundation is the ancient C89 standard of C. Now,
>>> Torvalds has decided to upgrade to 2011's more modern C11 standard.
>>>
>>> Read more here:
>>>
>>> https://www.zdnet.com/article/linus-torvalds-prepares-to-move-the-linux-kernel-to-modern-c/?ftag=COS-05-10aaa0h&utm_campaign=trueAnthem%3A%20Trending%20Content&utm_medium=trueAnthem&utm_source=facebook&fbclid=IwAR1oF1ysACG28YRYJnnYlt7oCzfRhXSUePOKd4xsycb3F8GGwxIfeAXZI8Y
>>>
>>>
>>>
>>> Thank you,
>>> Amine Moulay Ramdane.
>>
>> C isn't a modern language, no matter which standard.
>
> Sorry but you are wrong.  There is more C code running out there than
> anything else. ...

Because it's a language easy to learn. But it'ts not as
modern language since it lacks all modern language facicities.

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svkj2e$hqu$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20623&group=comp.lang.c#20623

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Tue, 1 Mar 2022 08:47:30 +0100
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <svkj2e$hqu$1@dont-email.me>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svjsnm$dnp$1@dont-email.me>
<20220228172933.551@kylheku.com> <svk0ed$4uk$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 1 Mar 2022 07:47:27 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="5810512e555e646a4ebb234d1b5db876";
logging-data="18270"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/AzRAOnlPPZ3SaxDk1Ut6wEuhXPhOFVlk="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:cD84M5rWDqqZ5l0IPw4LHGG5PkM=
In-Reply-To: <svk0ed$4uk$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Tue, 1 Mar 2022 07:47 UTC

Am 01.03.2022 um 03:29 schrieb Lynn McGuire:
> On 2/28/2022 7:37 PM, Kaz Kylheku wrote:
>> On 2022-03-01, Lynn McGuire <lynnmcguire5@gmail.com> wrote:
>>>> C isn't a modern language, no matter which standard.
>>>
>>> Sorry but you are wrong.  There is more C code running out there than
>>> anything else.  Just about every real time system is running C.  Linux
>>> is totally written in C code.  All engine management systems are running
>>> C.  Etc, etc, etc.
>>
>> None of that refutes "C is not modern".  Quite the opposite; a language
>> that is popular must be modern if, in spite of popularity, there isn't a
>> lot of code written in it yet. Oceans of code tend to confirm lack of
>> modernity.
>>
>> The statement is correct; C is not a modern language. The phrase "modern
>> C" doesn't imply otherwise; it just refers to a dialect that is new
>> relative to other dialects of C. Some things have been modernized due to
>> some people's expectations that come from contact with other new things.
>>
>> In other respects, it's an oxymoron, like "modern Fortran".
>
> So C 17 is not a modern language ?  C has been modernized several times,
> 89, 99, 11, and 17.  I started writing C code in 1985 and it has changed
> quite a bit since then.
>    https://en.wikipedia.org/wiki/C99
> and
>    https://en.wikipedia.org/wiki/C11_(C_standard_revision)
> and
>    https://en.wikipedia.org/wiki/C17_(C_standard_revision)
> Lynn

The "improvements" of the new standards are rather tiny compared
to what C++ has improved with C++11 and C++20.

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svl0cj$e9u$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20631&group=comp.lang.c#20631

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (Bart)
Newsgroups: comp.programming.threads,comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Tue, 1 Mar 2022 11:34:42 +0000
Organization: A noiseless patient Spider
Lines: 118
Message-ID: <svl0cj$e9u$1@dont-email.me>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svjsnm$dnp$1@dont-email.me>
<svjsuj$eoc$1@dont-email.me> <svk03m$3ac$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 1 Mar 2022 11:34:43 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f55e6e5b4fb069b53b754cdff476d373";
logging-data="14654"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19FCJWL54UscVorzsRrIvoaMX4np8n/POU="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:ZMhpZBhvwuwnXbK3cmAJxsXFypQ=
In-Reply-To: <svk03m$3ac$1@dont-email.me>
 by: Bart - Tue, 1 Mar 2022 11:34 UTC

On 01/03/2022 02:23, Lynn McGuire wrote:
> On 2/28/2022 7:29 PM, rthiebaud wrote:
>> On 2/28/22 20:26, Lynn McGuire wrote:
>>> On 2/28/2022 11:44 AM, Bonita Montero wrote:
>>>> Am 28.02.2022 um 17:43 schrieb Amine Moulay Ramdane:
>>>>> Hello,
>>>>>
>>>>>
>>>>> Linus Torvalds prepares to move the Linux kernel to modern C
>>>>>
>>>>> The Linux kernel's foundation is the ancient C89 standard of C.
>>>>> Now, Torvalds has decided to upgrade to 2011's more modern C11
>>>>> standard.
>>>>>
>>>>> Read more here:
>>>>>
>>>>> https://www.zdnet.com/article/linus-torvalds-prepares-to-move-the-linux-kernel-to-modern-c/?ftag=COS-05-10aaa0h&utm_campaign=trueAnthem%3A%20Trending%20Content&utm_medium=trueAnthem&utm_source=facebook&fbclid=IwAR1oF1ysACG28YRYJnnYlt7oCzfRhXSUePOKd4xsycb3F8GGwxIfeAXZI8Y
>>>>>
>>>>>
>>>>>
>>>>> Thank you,
>>>>> Amine Moulay Ramdane.
>>>>
>>>> C isn't a modern language, no matter which standard.
>>>
>>> Sorry but you are wrong.  There is more C code running out there than
>>> anything else.  Just about every real time system is running C.
>>> Linux is totally written in C code.  All engine management systems
>>> are running C.  Etc, etc, etc.
>>>
>>> Lynn
>>
>> How does the number of lines of C running compare to the number of
>> lines of Cobol running?
>
> Not even close, C big time the winner.
>
> Every single vehicle running in the USA has several cpus running 20
> million to 30 million lines of C code.

> Every single Android cell phone has a Linux operating system written in
> C.  Every single Apple cell phone has an iOS operating system written in C.
>
> All Microsoft operating systems are written in C.

It uses a mix of languages, like .NET ones. Some APIs use C++. Many
still use C, although it likes to call it C++.

That is what is visible from the developer perspective. Internally, I've
no idea.

>  All Apple PC
> operating systems are written in C.  Linux is written in C.  Unix is
> written in C.  Etc, etc, etc.

I use Windows. My own stuff is 100% not written in C. It makes use of OS
and other libraries, which may well have been written in C, but when I
call code in those libraries, it will be as native code at that point,
not C.

The APIs used are generally refered to as C APIs, but it doesn't mean
that C invented that primitive style of interface, which these days
means using these types:

i8-i64
u8-u64
Arrays of any of these
Structs of any mix of these
Pointers to any of these
And using the machine ABI for function call conventions

Such types are common to at least a dozen languages, which will largely
follow the ABI too.

In the case of the ABI, Win64 ABI is not specified in C terms (on SYS V
it is, in that it uses C terms to describe the types).

Some C-language characteristics do appear in such APIs and ABIs:

* Variadic parameters
* The rules for struct member alignment and padding
* The weird 'char' type that is neither i8 nor u8
* Things like case-sensitivity in names shared between programs and
libraries

Otherwise, all those reams of C code could be replaced overnight by
another comparable language, or even assembly, and no one would notice
(other than it might be faster/slower or smaller/bigger).

The language called C could be split into two parts:

* The lower-level set of primitive types, the basic set of operators,
control-flow facilities, the concept of imported and exported names and
so on. A kind of VM if you like.

* The actual language C with its idiosyncratic syntax, its various
quirks and its messy attempts at providing those primitive types and a
million other things that people associate with it, like its macro
system, nested headers and lack of modules.

The first part is a common subset of many languages. Doubtless many
systems languages exist, have existed, or could exist that make short
work of such a language spec.

But it is a fact that C has dominated that area of mainsteam systems
languages, to the extent that there are hardly any viable alternatives.
(C++ doesn't count.)

There are a few languages around now that call themselves systems
languages, but I doubt if they could be implemented in 180KB (the size
of tcc.exe).

(There is my language, which I've used exclusively for systems work for
decades, but that is a personal tool so hardly mainstream.

But one reason why I didn't let it die 20 years ago is /because/ there
wasn't a small-footprint alternative to C that I could switch to.)

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svl77v$vmc$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20633&group=comp.lang.c#20633

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.programming.threads,comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Tue, 1 Mar 2022 14:31:47 +0100
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <svl77v$vmc$1@dont-email.me>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svjsnm$dnp$1@dont-email.me>
<svjsuj$eoc$1@dont-email.me> <svk03m$3ac$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 1 Mar 2022 13:31:43 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="5810512e555e646a4ebb234d1b5db876";
logging-data="32460"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+cRLrbAHzgDcxhgq+GUlt+TuYzp+tyP/o="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:tAH/AM7mS7Hx+gis3nd8HISeHjI=
In-Reply-To: <svk03m$3ac$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Tue, 1 Mar 2022 13:31 UTC

Am 01.03.2022 um 03:23 schrieb Lynn McGuire:
> On 2/28/2022 7:29 PM, rthiebaud wrote:
>> On 2/28/22 20:26, Lynn McGuire wrote:
>>> On 2/28/2022 11:44 AM, Bonita Montero wrote:
>>>> Am 28.02.2022 um 17:43 schrieb Amine Moulay Ramdane:
>>>>> Hello,
>>>>>
>>>>>
>>>>> Linus Torvalds prepares to move the Linux kernel to modern C
>>>>>
>>>>> The Linux kernel's foundation is the ancient C89 standard of C.
>>>>> Now, Torvalds has decided to upgrade to 2011's more modern C11
>>>>> standard.
>>>>>
>>>>> Read more here:
>>>>>
>>>>> https://www.zdnet.com/article/linus-torvalds-prepares-to-move-the-linux-kernel-to-modern-c/?ftag=COS-05-10aaa0h&utm_campaign=trueAnthem%3A%20Trending%20Content&utm_medium=trueAnthem&utm_source=facebook&fbclid=IwAR1oF1ysACG28YRYJnnYlt7oCzfRhXSUePOKd4xsycb3F8GGwxIfeAXZI8Y
>>>>>
>>>>>
>>>>>
>>>>> Thank you,
>>>>> Amine Moulay Ramdane.
>>>>
>>>> C isn't a modern language, no matter which standard.
>>>
>>> Sorry but you are wrong.  There is more C code running out there than
>>> anything else.  Just about every real time system is running C.
>>> Linux is totally written in C code.  All engine management systems
>>> are running C.  Etc, etc, etc.
>>>
>>> Lynn
>>
>> How does the number of lines of C running compare to the number of
>> lines of Cobol running?
>
> Not even close, C big time the winner.
>
> Every single vehicle running in the USA has several cpus running 20
> million to 30 million lines of C code.

For embedded-puorposes C++ is currently more frequently used.
Look at the job offers. C is an outdated language.

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<9LqTJ.15273$LN2.13464@fx13.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20636&group=comp.lang.c#20636

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx13.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Newsgroups: comp.programming.threads,comp.lang.c
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com> <svj1m6$rue$2@dont-email.me> <svjsnm$dnp$1@dont-email.me> <svjsuj$eoc$1@dont-email.me> <svk03m$3ac$1@dont-email.me>
Lines: 29
Message-ID: <9LqTJ.15273$LN2.13464@fx13.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 01 Mar 2022 15:14:13 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 01 Mar 2022 15:14:13 GMT
X-Received-Bytes: 1946
 by: Scott Lurndal - Tue, 1 Mar 2022 15:14 UTC

Lynn McGuire <lynnmcguire5@gmail.com> writes:
>On 2/28/2022 7:29 PM, rthiebaud wrote:

>> How does the number of lines of C running compare to the number of lines
>> of Cobol running?
>
>Not even close, C big time the winner.
>
>Every single vehicle running in the USA has several cpus running 20
>million to 30 million lines of C code.

Sorry, you can't add the number of vehicles and conclude anything
about the number of lines of C code vs. COBOL code, particularly when
a large portion of it is based on wind river, linux and other embedded
operating environments (i.e. not bespoke).

Estimates of the number of lines of COBOL code running today range
from 750 to 800 billion lines. Mostly bespoke.

https://www.zdnet.com/article/programming-languages-how-much-cobol-code-is-out-there-the-answer-might-surprise-you/

>
>Every single Android cell phone has a Linux operating system written in

There is only _one_ linux operating system source tree that everyone
shares. Likewise for the Android user-level code as well.

COBOL code is almost completely bespoke.

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svlhdt$f5f$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20640&group=comp.lang.c#20640

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.programming.threads,comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Tue, 1 Mar 2022 17:25:32 +0100
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <svlhdt$f5f$1@dont-email.me>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svjsnm$dnp$1@dont-email.me>
<svjsuj$eoc$1@dont-email.me> <svk03m$3ac$1@dont-email.me>
<svl77v$vmc$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 1 Mar 2022 16:25:33 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c9a62cbf90713f2b1373fae87b7f20ce";
logging-data="15535"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/aOE8NZebbNEE7CkZ7Iz7z8iO7xwS6RaY="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:gAu6ogbFdgLz0DxQECIFelIv45E=
In-Reply-To: <svl77v$vmc$1@dont-email.me>
Content-Language: en-GB
 by: David Brown - Tue, 1 Mar 2022 16:25 UTC

On 01/03/2022 14:31, Bonita Montero wrote:
> Am 01.03.2022 um 03:23 schrieb Lynn McGuire:
>> On 2/28/2022 7:29 PM, rthiebaud wrote:
>>> On 2/28/22 20:26, Lynn McGuire wrote:
>>>> On 2/28/2022 11:44 AM, Bonita Montero wrote:

>>>>
>>>> Sorry but you are wrong.  There is more C code running out there
>>>> than anything else.  Just about every real time system is running
>>>> C.  Linux is totally written in C code.  All engine management
>>>> systems are running C.  Etc, etc, etc.
>>>>
>>>> Lynn
>>>
>>> How does the number of lines of C running compare to the number of
>>> lines of Cobol running?
>>
>> Not even close, C big time the winner.
>>
>> Every single vehicle running in the USA has several cpus running 20
>> million to 30 million lines of C code.
>
> For embedded-puorposes C++ is currently more frequently used.
> Look at the job offers. C is an outdated language.

You sometimes seem to live in a world of make-believe...

Use of C++ is definitely increasing in the embedded world, but
especially on smaller systems C is dominant by a long way.

We understand that you prefer C++ to C. But wishful thinking will not
change reality.

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svlk76$5tq$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20647&group=comp.lang.c#20647

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.programming.threads,comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Tue, 1 Mar 2022 18:13:13 +0100
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <svlk76$5tq$1@dont-email.me>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svjsnm$dnp$1@dont-email.me>
<svjsuj$eoc$1@dont-email.me> <svk03m$3ac$1@dont-email.me>
<svl77v$vmc$1@dont-email.me> <svlhdt$f5f$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 1 Mar 2022 17:13:10 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="5810512e555e646a4ebb234d1b5db876";
logging-data="6074"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+akPSZJwELmhyfYBjN3tXdzHilE8RirlY="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:qj4sHyQU4WIqc/Bac48SOoA1MJk=
In-Reply-To: <svlhdt$f5f$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Tue, 1 Mar 2022 17:13 UTC

Am 01.03.2022 um 17:25 schrieb David Brown:
> On 01/03/2022 14:31, Bonita Montero wrote:
>> Am 01.03.2022 um 03:23 schrieb Lynn McGuire:
>>> On 2/28/2022 7:29 PM, rthiebaud wrote:
>>>> On 2/28/22 20:26, Lynn McGuire wrote:
>>>>> On 2/28/2022 11:44 AM, Bonita Montero wrote:
>
>>>>>
>>>>> Sorry but you are wrong.  There is more C code running out there
>>>>> than anything else.  Just about every real time system is running
>>>>> C.  Linux is totally written in C code.  All engine management
>>>>> systems are running C.  Etc, etc, etc.
>>>>>
>>>>> Lynn
>>>>
>>>> How does the number of lines of C running compare to the number of
>>>> lines of Cobol running?
>>>
>>> Not even close, C big time the winner.
>>>
>>> Every single vehicle running in the USA has several cpus running 20
>>> million to 30 million lines of C code.
>>
>> For embedded-puorposes C++ is currently more frequently used.
>> Look at the job offers. C is an outdated language.
>
> You sometimes seem to live in a world of make-believe...
>
> Use of C++ is definitely increasing in the embedded world, but
> especially on smaller systems C is dominant by a long way.

That are only very small systems where C++ isn't appropriate.
Here in Germany there are much more Job offerings for embedded
-developers asking for C++ skills than for C skills only.

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svlpfg$j88$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20652&group=comp.lang.c#20652

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.programming.threads,comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Tue, 1 Mar 2022 19:42:55 +0100
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <svlpfg$j88$1@dont-email.me>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svjsnm$dnp$1@dont-email.me>
<svjsuj$eoc$1@dont-email.me> <svk03m$3ac$1@dont-email.me>
<svl77v$vmc$1@dont-email.me> <svlhdt$f5f$1@dont-email.me>
<svlk76$5tq$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 1 Mar 2022 18:42:56 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="4ae028550f0368e87abab25b7c47e7ea";
logging-data="19720"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195zOaOqKJiB7SdJASARxpFKhgfc2b4Q68="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:tGQRmgJ2gvMyY+1VjCfD29W3/Q4=
In-Reply-To: <svlk76$5tq$1@dont-email.me>
Content-Language: en-GB
 by: David Brown - Tue, 1 Mar 2022 18:42 UTC

On 01/03/2022 18:13, Bonita Montero wrote:
> Am 01.03.2022 um 17:25 schrieb David Brown:
>> On 01/03/2022 14:31, Bonita Montero wrote:
>>> Am 01.03.2022 um 03:23 schrieb Lynn McGuire:
>>>> On 2/28/2022 7:29 PM, rthiebaud wrote:
>>>>> On 2/28/22 20:26, Lynn McGuire wrote:
>>>>>> On 2/28/2022 11:44 AM, Bonita Montero wrote:
>>
>>>>>>
>>>>>> Sorry but you are wrong.  There is more C code running out there
>>>>>> than anything else.  Just about every real time system is running
>>>>>> C.  Linux is totally written in C code.  All engine management
>>>>>> systems are running C.  Etc, etc, etc.
>>>>>>
>>>>>> Lynn
>>>>>
>>>>> How does the number of lines of C running compare to the number of
>>>>> lines of Cobol running?
>>>>
>>>> Not even close, C big time the winner.
>>>>
>>>> Every single vehicle running in the USA has several cpus running 20
>>>> million to 30 million lines of C code.
>>>
>>> For embedded-puorposes C++ is currently more frequently used.
>>> Look at the job offers. C is an outdated language.
>>
>> You sometimes seem to live in a world of make-believe...
>>
>> Use of C++ is definitely increasing in the embedded world, but
>> especially on smaller systems C is dominant by a long way.
>
> That are only very small systems where C++ isn't appropriate.

I did not say that C++ could not be used, or even that C++ would not be
appropriate. I said that C++ was /not/ used - C is is used. There are
a great many reasons - some good, some bad - why C is used on small
embedded systems.

> Here in Germany there are much more Job offerings for embedded
> -developers asking for C++ skills than for C skills only.

That does not contradict me in any way. Companies are looking for new
people with C++ skills, because - as I said - the use of C++ in embedded
systems is /increasing/. They don't need new C programmers, because
they already have C programmers.

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svlq9f$pe0$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20654&group=comp.lang.c#20654

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.programming.threads,comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Tue, 1 Mar 2022 19:56:49 +0100
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <svlq9f$pe0$1@dont-email.me>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svjsnm$dnp$1@dont-email.me>
<svjsuj$eoc$1@dont-email.me> <svk03m$3ac$1@dont-email.me>
<svl77v$vmc$1@dont-email.me> <svlhdt$f5f$1@dont-email.me>
<svlk76$5tq$1@dont-email.me> <svlpfg$j88$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 1 Mar 2022 18:56:47 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="5810512e555e646a4ebb234d1b5db876";
logging-data="26048"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19dDXd3pCOA6Z7Yyf345Ti4nahFKpNLBWc="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:SDKr01lV6KfqriwStiXSUhVrM60=
In-Reply-To: <svlpfg$j88$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Tue, 1 Mar 2022 18:56 UTC

> That does not contradict me in any way. Companies are looking for new
> people with C++ skills, because - as I said - the use of C++ in embedded
> systems is /increasing/. They don't need new C programmers, because
> they already have C programmers.

Most embedded-systems have CPUs beyond small PICs or 8051
where you can write in C++.
And on small CPUs like PICs and 8041 the applications being
run are so simple (because limited by small resources) that
C++ isn't a noticeable benefit.
But look at the Arduino UNO - although not having a heap or
a stack you can develop for it in a limited C++-subset with
slight advantages of C++.

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svmspn$5e7$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20669&group=comp.lang.c#20669

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: lynnmcgu...@gmail.com (Lynn McGuire)
Newsgroups: comp.programming.threads,comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Tue, 1 Mar 2022 22:45:43 -0600
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <svmspn$5e7$1@dont-email.me>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 2 Mar 2022 04:45:43 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="9c4c562feae6a3e359d2a46755bce63b";
logging-data="5575"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19YtwVJHYwncsaIPf1ZvtdA"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:OsMocO56fi+S8QksXMofeWTMalo=
In-Reply-To: <svj1m6$rue$2@dont-email.me>
Content-Language: en-US
 by: Lynn McGuire - Wed, 2 Mar 2022 04:45 UTC

On 2/28/2022 11:44 AM, Bonita Montero wrote:
> Am 28.02.2022 um 17:43 schrieb Amine Moulay Ramdane:
>> Hello,
>>
>>
>> Linus Torvalds prepares to move the Linux kernel to modern C
>>
>> The Linux kernel's foundation is the ancient C89 standard of C. Now,
>> Torvalds has decided to upgrade to 2011's more modern C11 standard.
>>
>> Read more here:
>>
>> https://www.zdnet.com/article/linus-torvalds-prepares-to-move-the-linux-kernel-to-modern-c/?ftag=COS-05-10aaa0h&utm_campaign=trueAnthem%3A%20Trending%20Content&utm_medium=trueAnthem&utm_source=facebook&fbclid=IwAR1oF1ysACG28YRYJnnYlt7oCzfRhXSUePOKd4xsycb3F8GGwxIfeAXZI8Y
>>
>>
>>
>> Thank you,
>> Amine Moulay Ramdane.
>
> C isn't a modern language, no matter which standard.

What is your definition of a modern language ?

Lynn

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svmsrh$6j9$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20671&group=comp.lang.c#20671

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.programming.threads,comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Wed, 2 Mar 2022 05:46:45 +0100
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <svmsrh$6j9$1@dont-email.me>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svmspn$5e7$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 2 Mar 2022 04:46:41 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="267f58128df590709f4eff4ce2840dfa";
logging-data="6761"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/0n4gg//AJbTPaodTNHb24ZFCNMoa4e8="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:WsMo/d9VDvsFtviPHZWbhxZ8o90=
In-Reply-To: <svmspn$5e7$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Wed, 2 Mar 2022 04:46 UTC

Am 02.03.2022 um 05:45 schrieb Lynn McGuire:
> On 2/28/2022 11:44 AM, Bonita Montero wrote:
>> Am 28.02.2022 um 17:43 schrieb Amine Moulay Ramdane:
>>> Hello,
>>>
>>>
>>> Linus Torvalds prepares to move the Linux kernel to modern C
>>>
>>> The Linux kernel's foundation is the ancient C89 standard of C. Now,
>>> Torvalds has decided to upgrade to 2011's more modern C11 standard.
>>>
>>> Read more here:
>>>
>>> https://www.zdnet.com/article/linus-torvalds-prepares-to-move-the-linux-kernel-to-modern-c/?ftag=COS-05-10aaa0h&utm_campaign=trueAnthem%3A%20Trending%20Content&utm_medium=trueAnthem&utm_source=facebook&fbclid=IwAR1oF1ysACG28YRYJnnYlt7oCzfRhXSUePOKd4xsycb3F8GGwxIfeAXZI8Y
>>>
>>>
>>>
>>> Thank you,
>>> Amine Moulay Ramdane.
>>
>> C isn't a modern language, no matter which standard.
>
> What is your definition of a modern language ?

OOP, RAII, generic programming, functional programming,
proper error-handling like with exceptions.

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<ffde6e78-6223-43e3-acb4-809c32e48487n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20701&group=comp.lang.c#20701

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a37:5881:0:b0:649:10c4:60c2 with SMTP id m123-20020a375881000000b0064910c460c2mr15969517qkb.615.1646219845545;
Wed, 02 Mar 2022 03:17:25 -0800 (PST)
X-Received: by 2002:a05:6214:3014:b0:433:2a46:3b2a with SMTP id
ke20-20020a056214301400b004332a463b2amr9148058qvb.89.1646219845400; Wed, 02
Mar 2022 03:17:25 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Wed, 2 Mar 2022 03:17:25 -0800 (PST)
In-Reply-To: <svmsrh$6j9$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23a8:400a:5601:493:8d17:b6ca:220;
posting-account=Dz2zqgkAAADlK5MFu78bw3ab-BRFV4Qn
NNTP-Posting-Host: 2a00:23a8:400a:5601:493:8d17:b6ca:220
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svmspn$5e7$1@dont-email.me> <svmsrh$6j9$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ffde6e78-6223-43e3-acb4-809c32e48487n@googlegroups.com>
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
From: malcolm....@gmail.com (Malcolm McLean)
Injection-Date: Wed, 02 Mar 2022 11:17:25 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 39
 by: Malcolm McLean - Wed, 2 Mar 2022 11:17 UTC

On Wednesday, 2 March 2022 at 04:47:07 UTC, Bonita Montero wrote:
> Am 02.03.2022 um 05:45 schrieb Lynn McGuire:
> > On 2/28/2022 11:44 AM, Bonita Montero wrote:
> >> Am 28.02.2022 um 17:43 schrieb Amine Moulay Ramdane:
> >>> Hello,
> >>>
> >>>
> >>> Linus Torvalds prepares to move the Linux kernel to modern C
> >>>
> >>> The Linux kernel's foundation is the ancient C89 standard of C. Now,
> >>> Torvalds has decided to upgrade to 2011's more modern C11 standard.
> >>>
> >>> Read more here:
> >>>
> >>> https://www.zdnet.com/article/linus-torvalds-prepares-to-move-the-linux-kernel-to-modern-c/?ftag=COS-05-10aaa0h&utm_campaign=trueAnthem%3A%20Trending%20Content&utm_medium=trueAnthem&utm_source=facebook&fbclid=IwAR1oF1ysACG28YRYJnnYlt7oCzfRhXSUePOKd4xsycb3F8GGwxIfeAXZI8Y
> >>>
> >>>
> >>>
> >>> Thank you,
> >>> Amine Moulay Ramdane.
> >>
> >> C isn't a modern language, no matter which standard.
> >
> > What is your definition of a modern language ?
> OOP, RAII, generic programming, functional programming,
> proper error-handling like with exceptions.
>
That's fair enough. With the exception of functional programming, these have all been
introduced since C was first developed.
You can argue about the benefits. Especially in C++, where these ideas have to be
bolted onto an existing language rather than implemented in a consistent way in
the basic design.

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<878rtsld5m.fsf@bsb.me.uk>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20703&group=comp.lang.c#20703

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ben.use...@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Wed, 02 Mar 2022 13:03:33 +0000
Organization: A noiseless patient Spider
Lines: 53
Message-ID: <878rtsld5m.fsf@bsb.me.uk>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svmspn$5e7$1@dont-email.me>
<svmsrh$6j9$1@dont-email.me>
<ffde6e78-6223-43e3-acb4-809c32e48487n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="7a95e9daa380f6bb604ae162b7ae9de3";
logging-data="21268"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1967akS54EWGgptgG1Yq78oCdJcfg2XgIs="
Cancel-Lock: sha1:Im6PXvoB4xhPMyvWJjXbaosyo9w=
sha1:8R20CXdrJOJ+e4OHvBIfRJkV3iw=
X-BSB-Auth: 1.f0ac8452fdee7be12f2b.20220302130333GMT.878rtsld5m.fsf@bsb.me.uk
 by: Ben Bacarisse - Wed, 2 Mar 2022 13:03 UTC

Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:

> On Wednesday, 2 March 2022 at 04:47:07 UTC, Bonita Montero wrote:
>> Am 02.03.2022 um 05:45 schrieb Lynn McGuire:
>> > On 2/28/2022 11:44 AM, Bonita Montero wrote:
>> >> Am 28.02.2022 um 17:43 schrieb Amine Moulay Ramdane:
>> >>> Hello,
>> >>>
>> >>>
>> >>> Linus Torvalds prepares to move the Linux kernel to modern C
>> >>>
>> >>> The Linux kernel's foundation is the ancient C89 standard of C. Now,
>> >>> Torvalds has decided to upgrade to 2011's more modern C11 standard.
>> >>>
>> >>> Read more here:
>> >>>
>> >>> https://www.zdnet.com/article/linus-torvalds-prepares-to-move-the-linux-kernel-to-modern-c/?ftag=COS-05-10aaa0h&utm_campaign=trueAnthem%3A%20Trending%20Content&utm_medium=trueAnthem&utm_source=facebook&fbclid=IwAR1oF1ysACG28YRYJnnYlt7oCzfRhXSUePOKd4xsycb3F8GGwxIfeAXZI8Y
>> >>>
>> >> C isn't a modern language, no matter which standard.
>> >
>> > What is your definition of a modern language ?
>>
>> OOP, RAII, generic programming, functional programming,
>> proper error-handling like with exceptions.
>>
> That's fair enough.

Really? Seems like an arbitrary list picked because C++ just about has
something that could match.

I would associate "modern" with the approach taken by the language
designers, not to some set of features. A modern language would be one
designed taking into account what we have learned from earlier attempts.
In that sense, apart from deliberate "throwbacks", it's going to be
largely chronological.

> With the exception of functional programming, these have all been
> introduced since C was first developed.

Simula (1960s) had classes and inheritance. ML and CLU (both about
1973) had type-generic programming. RAII is just the name for what some
languages have always done and is simply meaningless in others.

> You can argue about the benefits. Especially in C++, where these ideas
> have to be bolted onto an existing language rather than implemented in
> a consistent way in the basic design.

Agreed. I don't think C++ can be considered "modern" since it is an
accretion of features and fixes to an old language. One could, however,
program in "modern C++" by picking a consistent and clean subset.

--
Ben.

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svnsgk$b0g$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20704&group=comp.lang.c#20704

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (Bart)
Newsgroups: comp.programming.threads,comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Wed, 2 Mar 2022 13:47:01 +0000
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <svnsgk$b0g$1@dont-email.me>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svmspn$5e7$1@dont-email.me>
<svmsrh$6j9$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 2 Mar 2022 13:47:00 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f53ba3a84a7a054984956d0a53bb8af1";
logging-data="11280"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/q8v53B7ks54JgnqoH4psyHmtsTAJZZ4g="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:Kk0NujWHzDrHzu7CZMlOOWpElJE=
In-Reply-To: <svmsrh$6j9$1@dont-email.me>
 by: Bart - Wed, 2 Mar 2022 13:47 UTC

On 02/03/2022 04:46, Bonita Montero wrote:
> Am 02.03.2022 um 05:45 schrieb Lynn McGuire:
>> On 2/28/2022 11:44 AM, Bonita Montero wrote:
>>> Am 28.02.2022 um 17:43 schrieb Amine Moulay Ramdane:
>>>> Hello,
>>>>
>>>>
>>>> Linus Torvalds prepares to move the Linux kernel to modern C
>>>>
>>>> The Linux kernel's foundation is the ancient C89 standard of C. Now,
>>>> Torvalds has decided to upgrade to 2011's more modern C11 standard.
>>>>
>>>> Read more here:
>>>>
>>>> https://www.zdnet.com/article/linus-torvalds-prepares-to-move-the-linux-kernel-to-modern-c/?ftag=COS-05-10aaa0h&utm_campaign=trueAnthem%3A%20Trending%20Content&utm_medium=trueAnthem&utm_source=facebook&fbclid=IwAR1oF1ysACG28YRYJnnYlt7oCzfRhXSUePOKd4xsycb3F8GGwxIfeAXZI8Y
>>>>
>>>>
>>>>
>>>> Thank you,
>>>> Amine Moulay Ramdane.
>>>
>>> C isn't a modern language, no matter which standard.
>>
>> What is your definition of a modern language ?
>
> OOP, RAII, generic programming, functional programming,
> proper error-handling like with exceptions.

They all sound like things designed to make coding harder and less
accessible.

What is available now are almost limitless resources which languages
tend to use in the wrong ways, IMO. Such as making hugely complex
installations.

My own stuff over the last few years has introduced:

* Whole-program compilers
* 64-bit everything (C is still stuck on 32-bits)
* Super-fast compilers ...
* ... which are enough to run programs from source, subject to project scale

While at same time striving for clean, easy-to-understand syntax.

Perhaps your idea of a modern language is the torturous C++ examples you
keep churning out (so complex you can't even see needless duplications);
that's not mine!

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<bnLTJ.29022$aT3.9637@fx09.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20705&group=comp.lang.c#20705

  copy link   Newsgroups: comp.programming.threads comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Newsgroups: comp.programming.threads,comp.lang.c
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com> <svj1m6$rue$2@dont-email.me> <svmspn$5e7$1@dont-email.me> <svmsrh$6j9$1@dont-email.me>
Lines: 42
Message-ID: <bnLTJ.29022$aT3.9637@fx09.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 02 Mar 2022 14:42:15 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 02 Mar 2022 14:42:15 GMT
X-Received-Bytes: 1902
 by: Scott Lurndal - Wed, 2 Mar 2022 14:42 UTC

Bonita Montero <Bonita.Montero@gmail.com> writes:
>Am 02.03.2022 um 05:45 schrieb Lynn McGuire:
>> On 2/28/2022 11:44 AM, Bonita Montero wrote:
>>> Am 28.02.2022 um 17:43 schrieb Amine Moulay Ramdane:
>>>> Hello,
>>>>
>>>>
>>>> Linus Torvalds prepares to move the Linux kernel to modern C
>>>>
>>>> The Linux kernel's foundation is the ancient C89 standard of C. Now,
>>>> Torvalds has decided to upgrade to 2011's more modern C11 standard.
>>>>
>>>> Read more here:
>>>>
>>>> https://www.zdnet.com/article/linus-torvalds-prepares-to-move-the-linux-kernel-to-modern-c/?ftag=COS-05-10aaa0h&utm_campaign=trueAnthem%3A%20Trending%20Content&utm_medium=trueAnthem&utm_source=facebook&fbclid=IwAR1oF1ysACG28YRYJnnYlt7oCzfRhXSUePOKd4xsycb3F8GGwxIfeAXZI8Y
>>>>
>>>>
>>>>
>>>> Thank you,
>>>> Amine Moulay Ramdane.
>>>
>>> C isn't a modern language, no matter which standard.
>>
>> What is your definition of a modern language ?
>
>OOP,

Simula, 1967.

>RAII,

ADA, 1980.

> generic programming,

ML, 1973.

>functional programming,

Lisp, 1970's.

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<PnLTJ.29023$aT3.21540@fx09.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20706&group=comp.lang.c#20706

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Newsgroups: comp.lang.c
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com> <svj1m6$rue$2@dont-email.me> <svmspn$5e7$1@dont-email.me> <svmsrh$6j9$1@dont-email.me> <ffde6e78-6223-43e3-acb4-809c32e48487n@googlegroups.com>
Lines: 40
Message-ID: <PnLTJ.29023$aT3.21540@fx09.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 02 Mar 2022 14:42:55 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 02 Mar 2022 14:42:55 GMT
X-Received-Bytes: 2373
 by: Scott Lurndal - Wed, 2 Mar 2022 14:42 UTC

Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:
>On Wednesday, 2 March 2022 at 04:47:07 UTC, Bonita Montero wrote:
>> Am 02.03.2022 um 05:45 schrieb Lynn McGuire:=20
>> > On 2/28/2022 11:44 AM, Bonita Montero wrote:=20
>> >> Am 28.02.2022 um 17:43 schrieb Amine Moulay Ramdane:=20
>> >>> Hello,=20
>> >>>=20
>> >>>=20
>> >>> Linus Torvalds prepares to move the Linux kernel to modern C=20
>> >>>=20
>> >>> The Linux kernel's foundation is the ancient C89 standard of C. Now,=
>=20
>> >>> Torvalds has decided to upgrade to 2011's more modern C11 standard.=
>=20
>> >>>=20
>> >>> Read more here:=20
>> >>>=20
>> >>> https://www.zdnet.com/article/linus-torvalds-prepares-to-move-the-lin=
>ux-kernel-to-modern-c/?ftag=3DCOS-05-10aaa0h&utm_campaign=3DtrueAnthem%3A%2=
>0Trending%20Content&utm_medium=3DtrueAnthem&utm_source=3Dfacebook&fbclid=3D=
>IwAR1oF1ysACG28YRYJnnYlt7oCzfRhXSUePOKd4xsycb3F8GGwxIfeAXZI8Y=20
>> >>>=20
>> >>>=20
>> >>>=20
>> >>> Thank you,=20
>> >>> Amine Moulay Ramdane.=20
>> >>=20
>> >> C isn't a modern language, no matter which standard.=20
>> >=20
>> > What is your definition of a modern language ?
>> OOP, RAII, generic programming, functional programming,=20
>> proper error-handling like with exceptions.
>>
>That's fair enough. With the exception of functional programming, these hav=
>e all been
>introduced since C was first developed.=20

That's incorrect. Most of those features have been part of
computer languages since the 1960s and 1970s.

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<87czj4jlwv.fsf@bsb.me.uk>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20709&group=comp.lang.c#20709

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ben.use...@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Wed, 02 Mar 2022 17:37:20 +0000
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <87czj4jlwv.fsf@bsb.me.uk>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svmspn$5e7$1@dont-email.me>
<svmsrh$6j9$1@dont-email.me> <svnsgk$b0g$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="7a95e9daa380f6bb604ae162b7ae9de3";
logging-data="31561"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+8a23dP/awmZ2bkOA72FgduY409U4WJl4="
Cancel-Lock: sha1:9aVKX2fDOlEFtYUsPreWBOvgM6Y=
sha1:QtfxYinVmRw4TWhzswihQ4pDFDw=
X-BSB-Auth: 1.5d48180d3bb729e76f66.20220302173720GMT.87czj4jlwv.fsf@bsb.me.uk
 by: Ben Bacarisse - Wed, 2 Mar 2022 17:37 UTC

Bart <bc@freeuk.com> writes:

> On 02/03/2022 04:46, Bonita Montero wrote:

>> OOP, RAII, generic programming, functional programming,
>> proper error-handling like with exceptions.
>
> They all sound like things designed to make coding harder and less
> accessible.

OK, I'll bite. Why would you not want type-generic functions? You have
an array and you want the maximum. Why write max (and probably the
array scanning) again and again just because sometimes it's an array of
int and sometimes an array of struct date?

And then, since lots of operations are just array reductions based on
some binary operation, why write that again and again? Functional
languages let you express the pattern once and for all so that

list_max(l) = reduce_using(max, l)
list_min(l) = reduce_using(min, l)
list_sum(l) = reduce_using(+, l)
list_product(l) = reduce_using(*, l)

Granted, given the right type system, imperative languages can do this
too.

--
Ben.

Re: Linus Torvalds prepares to move the Linux kernel to modern C

<svoa5n$bdb$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20710&group=comp.lang.c#20710

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!Puiiztk9lHEEQC0y3uUjRA.user.46.165.242.75.POSTED!not-for-mail
From: non...@add.invalid (Manfred)
Newsgroups: comp.lang.c
Subject: Re: Linus Torvalds prepares to move the Linux kernel to modern C
Date: Wed, 2 Mar 2022 18:40:07 +0100
Organization: Aioe.org NNTP Server
Message-ID: <svoa5n$bdb$1@gioia.aioe.org>
References: <88f5394b-c1a1-4422-a20f-96e5511a178fn@googlegroups.com>
<svj1m6$rue$2@dont-email.me> <svmspn$5e7$1@dont-email.me>
<svmsrh$6j9$1@dont-email.me>
<ffde6e78-6223-43e3-acb4-809c32e48487n@googlegroups.com>
<878rtsld5m.fsf@bsb.me.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="11691"; posting-host="Puiiztk9lHEEQC0y3uUjRA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Manfred - Wed, 2 Mar 2022 17:40 UTC

On 3/2/2022 2:03 PM, Ben Bacarisse wrote:
> Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:
>
>> On Wednesday, 2 March 2022 at 04:47:07 UTC, Bonita Montero wrote:
>>> Am 02.03.2022 um 05:45 schrieb Lynn McGuire:
>>>> On 2/28/2022 11:44 AM, Bonita Montero wrote:
>>>>> Am 28.02.2022 um 17:43 schrieb Amine Moulay Ramdane:
>>>>>> Hello,
>>>>>>
>>>>>>
>>>>>> Linus Torvalds prepares to move the Linux kernel to modern C
>>>>>>
>>>>>> The Linux kernel's foundation is the ancient C89 standard of C. Now,
>>>>>> Torvalds has decided to upgrade to 2011's more modern C11 standard.
>>>>>>
>>>>>> Read more here:
>>>>>>
>>>>>> https://www.zdnet.com/article/linus-torvalds-prepares-to-move-the-linux-kernel-to-modern-c/?ftag=COS-05-10aaa0h&utm_campaign=trueAnthem%3A%20Trending%20Content&utm_medium=trueAnthem&utm_source=facebook&fbclid=IwAR1oF1ysACG28YRYJnnYlt7oCzfRhXSUePOKd4xsycb3F8GGwxIfeAXZI8Y
>>>>>>
>>>>> C isn't a modern language, no matter which standard.
>>>>
>>>> What is your definition of a modern language ?
>>>
>>> OOP, RAII, generic programming, functional programming,
>>> proper error-handling like with exceptions.
>>>
>> That's fair enough.
>
> Really? Seems like an arbitrary list picked because C++ just about has
> something that could match.
>
> I would associate "modern" with the approach taken by the language
> designers, not to some set of features. A modern language would be one
> designed taking into account what we have learned from earlier attempts.
> In that sense, apart from deliberate "throwbacks", it's going to be
> largely chronological.

I agree with the "learn from the past" idea - the good meaning in
"modern" should be an actual improvement in the quality of programming.
In that perspective, at least OOP is an interesting example: after a
considerably popular hype in the early 2000's, it has arguably grown
more and more controversial - since for many tasks it makes life harder
rather than easier.

In general, I think the list above is not really a benchmark of
"moderness" (apart of them having been introduced half a century ago),
it is in fact a list of programming techniques that are only as good as
they fit the task at hand - in that sense, "modern" programming would
require the ability of choosing the right technique for the task, rather
than sticking to a favorite list.
Bjarne himself (among many others) said that no good programmer should
stick to one language only (not even C++ only), but rather master
different ones in a few key areas.

>
>> With the exception of functional programming, these have all been
>> introduced since C was first developed.
>
> Simula (1960s) had classes and inheritance. ML and CLU (both about
> 1973) had type-generic programming. RAII is just the name for what some
> languages have always done and is simply meaningless in others.
>
>> You can argue about the benefits. Especially in C++, where these ideas
>> have to be bolted onto an existing language rather than implemented in
>> a consistent way in the basic design.
>
> Agreed. I don't think C++ can be considered "modern" since it is an
> accretion of features and fixes to an old language.
That's not entirely fair, the part about it being a fix on C. Especially
since C++11 C++ has grown in its own way.

One could, however,
> program in "modern C++" by picking a consistent and clean subset.
>

That could probably be said of many languages: a modern way of
programming rather than a modern language.

For example, I have seen some large C codebase with pretty advanced
memory management infrastructure.

Pages:1234
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor