The Furries and Big Tech want to force Rust into the Linux Kernel.
(www.youtube.com)
You're viewing a single comment thread. View all comments, or full comment thread.
Comments (51)
sorted by:
C++ also results in stuff happening in unknown spots due to the C/CPP run time support needed for it. With C , it is easy to predict when code will run. C++ has things like static initializers whose code runs "I have no idea when".
In general, if you're relying on static initialization to run at a specific time or in a specific order, you've probably done something horribly wrong in your architecture.
That is true.
I just feel like you have less visibility into the asm that's going to come out of the CPP code vs the C code. I guess that's why it's higher level. For the kernel, though, that would be bad for performance and predictability. I think.
"whenever I feel like it"
Oh there is a rulebook somewhere, 1000s of pages long. I saw it in paper. Though that (C++) was not really ever my corner.
C has simplicity.
C++ has object oriented stuff that's worse than other OO programming languages. C succeeds at what it goes out to do. C++ does not. IMO.
I don't know enough to disagree with you, but I will say I appreciate C much more than a lot of others.