4 ms·
Nope. C rocks. C is way way more powerful. Yes, they don't really teach the power of C in Programming 101, but take High Performance Computing. That's all C
by xerophtye 13y ago
Nope. C rocks. C is way way more powerful. Yes, they don't really teach the power of C in Programming 101, but take High Performance Computing. That's all C
- eropple 13y agoHPC is not "all C"; there are very, very large Java and C++ presences in both the academic and financial HPC spaces.
- ygra 13y agoAnd Fortran.
- p1esk 13y agoI'm planning to run simulations on GPUs using CUDA. What are pro/cons of going with C vs C++?
- 10098 13y agoDefine "powerful". Do you mean expressive power? If yes, I'm calling bullshit because C++ has all of the following (off the top of my head, and I won't even mention any OOP-y features): 1. Templates 2. Template-based standard library 3. Lambda expressions 4. std::bind all of which make C++ much more expressive than C. In terms of performance "power", there's almost no difference. Sure, calling a virtual method is slower than calling a function in C, but you don't have to "pay" for it with performance if you don't use it. EDIT: god-dang formatting