mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] docs: clarify wording in programming-language.rst
@ 2026-02-14 13:28 Ariful Islam Shoikot
  2026-02-14 17:11 ` Jonathan Corbet
  0 siblings, 1 reply; 3+ messages in thread
From: Ariful Islam Shoikot @ 2026-02-14 13:28 UTC (permalink / raw)
  To: linux-doc; +Cc: linux-kernel, Jonathan Corbet, Shuah Khan, Ariful Islam Shoikot

Clarify that the Linux kernel is written in C and improve
punctuation in the clang sentence.

Signed-off-by: Ariful Islam Shoikot <islamarifulshoikat@gmail.com>
---
 Documentation/process/programming-language.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/process/programming-language.rst b/Documentation/process/programming-language.rst
index f39d1d3dd9ce..c18e307ccb56 100644
--- a/Documentation/process/programming-language.rst
+++ b/Documentation/process/programming-language.rst
@@ -3,10 +3,10 @@
 Programming Language
 ====================
 
-The kernel is written in the C programming language [c-language]_.
-More precisely, the kernel is typically compiled with ``gcc`` [gcc]_
+The Linux kernel is written in the C programming language [c-language]_.
+More precisely, it is typically compiled with ``gcc`` [gcc]_
 under ``-std=gnu11`` [gcc-c-dialect-options]_: the GNU dialect of ISO C11.
-``clang`` [clang]_ is also supported, see docs on
+``clang`` [clang]_ is also supported; see documentation on
 :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
 
 This dialect contains many extensions to the language [gnu-extensions]_,
-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: clarify wording in programming-language.rst
  2026-02-14 13:28 [PATCH] docs: clarify wording in programming-language.rst Ariful Islam Shoikot
@ 2026-02-14 17:11 ` Jonathan Corbet
  2026-02-14 17:55   ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Corbet @ 2026-02-14 17:11 UTC (permalink / raw)
  To: Ariful Islam Shoikot, linux-doc
  Cc: linux-kernel, Shuah Khan, Ariful Islam Shoikot

Ariful Islam Shoikot <islamarifulshoikat@gmail.com> writes:

> Clarify that the Linux kernel is written in C and improve
> punctuation in the clang sentence.
>
> Signed-off-by: Ariful Islam Shoikot <islamarifulshoikat@gmail.com>
> ---
>  Documentation/process/programming-language.rst | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/process/programming-language.rst b/Documentation/process/programming-language.rst
> index f39d1d3dd9ce..c18e307ccb56 100644
> --- a/Documentation/process/programming-language.rst
> +++ b/Documentation/process/programming-language.rst
> @@ -3,10 +3,10 @@
>  Programming Language
>  ====================
>  
> -The kernel is written in the C programming language [c-language]_.
> -More precisely, the kernel is typically compiled with ``gcc`` [gcc]_
> +The Linux kernel is written in the C programming language [c-language]_.
> +More precisely, it is typically compiled with ``gcc`` [gcc]_
>  under ``-std=gnu11`` [gcc-c-dialect-options]_: the GNU dialect of ISO C11.
> -``clang`` [clang]_ is also supported, see docs on
> +``clang`` [clang]_ is also supported; see documentation on
>  :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.

So you have tidied up the language, but not addressed the fact that the
information is somewhat outdated.  Clang is a first-class option these
days, and the documentation should probably reflect that.

Oh well, I've applied this as a good start :)

Thanks,

jon

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: clarify wording in programming-language.rst
  2026-02-14 17:11 ` Jonathan Corbet
@ 2026-02-14 17:55   ` Randy Dunlap
  0 siblings, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2026-02-14 17:55 UTC (permalink / raw)
  To: Jonathan Corbet, Ariful Islam Shoikot, linux-doc; +Cc: linux-kernel, Shuah Khan



On 2/14/26 9:11 AM, Jonathan Corbet wrote:
> Ariful Islam Shoikot <islamarifulshoikat@gmail.com> writes:
> 
>> Clarify that the Linux kernel is written in C and improve
>> punctuation in the clang sentence.
>>
>> Signed-off-by: Ariful Islam Shoikot <islamarifulshoikat@gmail.com>
>> ---
>>  Documentation/process/programming-language.rst | 6 +++---
>>  1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/Documentation/process/programming-language.rst b/Documentation/process/programming-language.rst
>> index f39d1d3dd9ce..c18e307ccb56 100644
>> --- a/Documentation/process/programming-language.rst
>> +++ b/Documentation/process/programming-language.rst
>> @@ -3,10 +3,10 @@
>>  Programming Language
>>  ====================
>>  
>> -The kernel is written in the C programming language [c-language]_.
>> -More precisely, the kernel is typically compiled with ``gcc`` [gcc]_
>> +The Linux kernel is written in the C programming language [c-language]_.
>> +More precisely, it is typically compiled with ``gcc`` [gcc]_
>>  under ``-std=gnu11`` [gcc-c-dialect-options]_: the GNU dialect of ISO C11.
>> -``clang`` [clang]_ is also supported, see docs on
>> +``clang`` [clang]_ is also supported; see documentation on
>>  :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
> 
> So you have tidied up the language, but not addressed the fact that the
> information is somewhat outdated.  Clang is a first-class option these
> days, and the documentation should probably reflect that.
> 
> Oh well, I've applied this as a good start :)


Maybe mention Rust as well?
-- 
~Randy


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-02-14 17:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-14 13:28 [PATCH] docs: clarify wording in programming-language.rst Ariful Islam Shoikot
2026-02-14 17:11 ` Jonathan Corbet
2026-02-14 17:55   ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®