4 ms·
C++ has nearly as many rabid fanboys as Rust. I am curious why the community reacts differently to them. I am not saying "just write it in Rust" is a good thing
by Guvante 5y ago
C++ has nearly as many rabid fanboys as Rust. I am curious why the community reacts differently to them. I am not saying "just write it in Rust" is a good thing, I think anyone claiming someone else needs to rewrite their program is automatically wrong.
This thread is full of "Linus hates C++" as if "the subset of C++ that can be used in the kernel is basically C" is an outright fabrication.
I may be oversampling on the fact that nearly every article about programming languages here is filled with people wondering what the point is though shrug.
- detaro 5y ago> "the subset of C++ that can be used in the kernel is basically C" is an outright fabrication. It's IMHO a good example of "ignore any progress in other languages", because it was a lot more true back when the question of C++ in the kernel first came up than it would be today. Which is not to say that the kernel should add C++, Linus is fully allowed to still think c++ isn't a good choice or to personally dislike it. And I'm very certain I've seen less intrusive pro-C++ spamming than I've seen for Rust. C++ hasn't been cool or hype in a long time, it's mostly on the defensive in such arguments. Even Go wasn't as bad IMHO, and that also had some hype factor. EDIT: > This thread is full of "Linus hates C++" Ok, I skimmed the thread. There is one comment saying that, one saying "Linus wasn't a fan at the time". "Full of", sure.
- FpUser 5y ago>"C++ has nearly as many rabid fanboys " My impression - not even remotely close. Mostly it is the subject of bashing.
- Guvante 5y agoYou haven't seen many Hacker News pages involving a GC language and the topic of performance the number of "just write it in C++ like everyone else" is frustrating. Nothing against C++ just telling someone else to change languages is unhelpful.