Skip to contentSkip to conversation

docs: clarify wording in programming-language.rst

PATCH In review Ariful Islam Shoikot 3 participants 3 messages Feb 14

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: clarify wording in programming-language.rst

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

---
 Documentation/process/programming-language.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/process/programming-language.rst +3 -3
index f39d1d3dd9ce..c18e307ccb56 100644
@@ -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]_,
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 14 lines · Ariful Islam Shoikot

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

---
 Documentation/process/programming-language.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/process/programming-language.rst +0 -0
index f39d1d3dd9ce..c18e307ccb56 100644
@@ -3,10 +3,10 @@
 Programming Language

Documentation/process/programming-language.rst line 10

Quoted 10 lines
Documentation/process/programming-language.rst +3 -3
 ====================
 
-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

reviewer
#2 lore raw
Quoted 31 lines · Jonathan Corbet
Quoted 14 lines · Ariful Islam Shoikot

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

---
 Documentation/process/programming-language.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/process/programming-language.rst +0 -0
index f39d1d3dd9ce..c18e307ccb56 100644
@@ -3,10 +3,10 @@
 Programming Language

Documentation/process/programming-language.rst line 10

Quoted 10 lines
Documentation/process/programming-language.rst +3 -3
 ====================
 
-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.

Quoted 1 line

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

Maybe mention Rust as well?

Signature · 1 line
~Randy