Re: [PATCH 00/45] C++: Convert the kernel to C++

From: H. Peter Anvin
Date: Fri Jan 12 2024 - 18:54:14 EST


On January 12, 2024 12:52:03 AM PST, David Howells <dhowells@xxxxxxxxxx> wrote:
>H. Peter Anvin <hpa@xxxxxxxxx> wrote:
>
>> One thing I forgot to mention that would be quite useful is careful use of
>> namespaces.
>
>Just be aware that the use of namespaces would make the kernel image bigger if
>symbols are included.
>
>David
>

If we can leverage data compression it probably would be a lot of space due to the highly repetitive nature of most symbols. To allow for random access that requires a bit of sophistication, but nothing that couldn't be solved.