3 ms·
Thankfully everything that's bad about C++ is absent in C. My least favorite term in CS is "C/C++" because they are two totally different languages, suitable fo
by Sir_Cmpwn 8y ago
Thankfully everything that's bad about C++ is absent in C. My least favorite term in CS is "C/C++" because they are two totally different languages, suitable for for totally different problems, and C++ is a smear on C's otherwise good name.
- jey 8y ago"C++ In the spirit of C" seems to be the sweet spot for me; think of a C++ programmer retreating to C but still keeping their fancy new C++ compiler.
- Sir_Cmpwn 8y agoYou're probably better off using Go then. If you like C++ but wish it were better you want Rust, and if you like C but wish it were better you want Go.
- jey 8y agoIn Go I can't `extern C` and calling C functions is expensive. I will probably be using Rust for some projects in the future, but right now I'm reliant on C++ for stuff like Eigen (numerical linear algebra) and OpenMP (shared memory loop parallelism).
- bestouff 8y agoThen you'll probably like Rust + nalgebra + rayon.
- pjmlp 8y agoStrange, I though that C++ has to thank C for implicit conversions, unsafe enums, memory corruption due to out-of-bounds in string and memory handling functions, UB, slow compilation times due to text inclusion, lack of code understanding due to macros über all, weak linking, ...