Can you name any reasons for why should we support C++ in the kernel?1. Porting existing modules written in C++ - the trigger for this thread?
Why shouldn't we invest the effort to making it possible to write kernelC++ is a system programming language with good C compatibility. Making the kernel compatible with C++ is doable.
modules in Haskell instead?
The kernel is written in C and its maintainers have so far agreed thatThat's certainly doable, however it is quite pointless since we know that the code will be rejected regardless of any technical merits it may have.
C is enough and adding any other language brings more pain than gain.
If you think otherwise, feel free to submit some real code which shows
the advantages of using a different language.