You can compile tge linux kernel or kernel in c++

I think. Having pc problems

But tge bzimage part needs to be rewritten and in theory you can compile a c linux module with c++

Good for adding a class or using the cpp standard library, features lists interfaces classes and more

Lets say the open source driver needs to sort data, you can design an algorithm in c or use stuff from cpp, you can do

Void x {set: x++: get: x +y} type math, had it figured out before lol

Good luck!