ZXFoundation C++ rewrite


So. The latest release as of now is ZXFoundation 26h1 (Milestone 1), which is a great release. It builds a foundation layer for the kernel growth. Though there is one thing i wanted for this kernel. A modern approach, a modern kernel architecture. There are a few designs that i had considered, multikernel, microkernel, avdn even exokernel. After countless trials and errors, rewrites within rewrites, i have decided to implement a DGP-style kernel , a Domain-Gate-Portal kernel to be precise, basically a microkernel, with with different concepts. And it appears that, C++ is honestly the best choice here (or rust). It offers the needed absrtaction at no major performance cost. And module C++23 is the chosen language

With that being said, there are many issues with the language itself namely:

  • Fragemented implementation-defined features: there are many builtins that are available in clang and not gcc, and vice versa
  • Reimplementing the STL: C++ is made to replace C’s bad habits, so it adds a lot of stuff, (i mean A LOT OF IT), reimplementing it was tedious, even just for a small section

The current branch containing the rewritten version (which is also now the default) is cpp-rewrite, i decided not to merge cpp-rewrite to master any time soon