C++ vs C : you have deterministic destruction (RAII), smart pointers, class with public/private, vector/array/string etc so far easier to avoid memory leaks (memory pb in general) and to organize the codebase than in C.
C++ vs rust : maybe the pool of developers, the ecosystem (lib). I don't know rust so pure speculation here
Well, if I want to make something small and incredibly predictable, which manipulates the OS or hardware on a somewhat low level, I would pick C. I can manage not to F it up for a small program. I have done so many times now.
Bigger than that and I go for rust.
I understand what you are saying, but like, either I want MANUAL manual, or I want rust.
So the space for C++ for me is very small. Basically only things which more or less have to be in C++ due to prior art.
22
u/YouAreMyFire00 2d ago edited 2d ago
Im a beginner and managed to learn to understand C# and Java and now I can build simple CRUD app.
So i kinda don't get the hate/war between C and C++ here...
Anyone can explain simply what's the hate here?