docs: clarify wording in programming-language.rst
Subsystems (2)
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
@@ -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
Jonathan Corbet
maintainerQuoted 14 lines · 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 <[email protected]>--- Documentation/process/programming-language.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)Documentation/process/programming-language.rst +0
-0@@ -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
Randy Dunlap
reviewerQuoted 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.
Signed-off-by Ariful Islam Shoikot <[email protected]>--- Documentation/process/programming-language.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)Documentation/process/programming-language.rst +0
-0@@ -3,10 +3,10 @@ Programming LanguageDocumentation/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