Click here to Skip to main content
15,887,676 members

Comments by Debdatta Basu (Top 6 by date)

Debdatta Basu 25-Aug-12 8:16am View    
Well how would you emulate inheritance in c without creating some sort of vtable? have a copy of the vtable for each class instance as opposed to a pointer to it? That would increase the size of the instances... anywas I agree. with c or c++, id say definitely c++. Far better language overall.
Debdatta Basu 24-Aug-12 14:51pm View    
That's true. Most programs written these days are Web apps/Mobile apps. However, the websites generating highest revenue, (google/fb) require substantial and complex server side processing. I know for a fact that most of google's backend is c++.

What I'm saying is, maybe we should see what generates the highest revenue. :D
Debdatta Basu 23-Aug-12 3:42am View    
That's an edge case if GUI/application programming is all you're into. For spreadsheets, its ok if the number of entries are small. For large databases c++ is still king. It really depends on what you are writing. Simple to moderately complex GUI app? Managed languages all the way. Something a little more complex? consider c++.

CUDA/OpenCL are a niche application, and require careful coding to extract performance. They can not handle most programming paradigms, and their usefulness is limited in the general case.

However, your points are all valid, and so, my +5. :D

-DB
Debdatta Basu 22-Aug-12 21:54pm View    
Absolutely. Especially with c/c++, performance will be very close most of the time.

-DB
Debdatta Basu 22-Aug-12 21:50pm View    
This is somewhat true for data intensive applications. But it's certainly not true for compute intensive ones. You will find 2x performance gain by simply porting from java to c++ and around 200x while porting from python to c++. The gains will be much lower in applications that are data limited.

Raytracers, Engineering simulators, Image processing, CAD etc some to mind.

-Debdatta Basu