Moving the kernel to modern C
Moving the kernel to modern C
Posted Mar 3, 2022 22:49 UTC (Thu) by dvdeug (guest, #10998)In reply to: Moving the kernel to modern C by Wol
Parent article: Moving the kernel to modern C
I'd be interested to see good measurements of why modern GUIs are so much slower; I'm curious if once you compensate for the increase in screen size and the increase in data sizes, if they really are all that much slower.
Posted Mar 3, 2022 23:54 UTC (Thu)
by Wol (subscriber, #4433)
[Link] (1 responses)
In which case, OO-bashing is justified. OO *IS* useful, but in the kernel when a few extra bytes of object code can cost you dearly in page faults etc, those faults are pretty fatal for the concept. THAT was the purpose of the bashing ...
Cheers,
Posted Mar 4, 2022 9:42 UTC (Fri)
by mpr22 (subscriber, #60784)
[Link]
If a class has no virtual members, it doesn't need a function table and doesn't have function-pointer dispatch overheads.
If it has some virtual members, only the members that are virtual have to be identified in the function table and called through function pointers.
Moving the kernel to modern C
Wol
Moving the kernel to modern C