From 6bcd425f0ee691eceeec5b3c6743aca4b0bbf66c Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 21 Feb 2026 06:10:42 +0100 Subject: feat: BootZ: BootThread and other modules patches and hardening. Copyright year updates. feat: Kernel: Copyright year updates. Signed-off-by: Amlal El Mahrouss --- doc/cpp_style.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/cpp_style.md (limited to 'doc/cpp_style.md') diff --git a/doc/cpp_style.md b/doc/cpp_style.md new file mode 100644 index 00000000..00b7c75a --- /dev/null +++ b/doc/cpp_style.md @@ -0,0 +1,15 @@ +# NeKernel C++ Style Guide: + +## Abstract: + +NeKernel uses the Google C++ Style. But applied to low-level systems. We use C++20 and later throughout all of our stack. As we keep iterating over time we will amend this document. + +## No Exceptions, Never. + +NeKernel bans the usage of exceptions in ne_kernel, ne_bootz, etc. +Unless it is a program space and not to be deemed performance dependent. + +## Privilege Templates and ZOA over C with Classes. + +NeKernel doesn't limit itself to a C++ paradigm, as we may find fitting solutions by exploring other patterns. + -- cgit v1.2.3