If C and C++ give the best performance, why do we still code in other languages?

Quora Feeds

Active Member
Muhammad Adinata

C/C++ might be faster in performance. But it doesn't mean it is faster as a tool to create a product. The better way to improve performance instead of changing tools is by improving the algorithm used for it. O(N) python will be likely much faster than O(N^2) C. Sure, you can use O(N) C, but you need more time to implementing it, debugging it and testing it, while using another language you already moving into another feature.

As long as it doesn't need critical performance, slower language is fine, or better.

Time is money they said. You can always change any product into C/C++ code base after you have money from product written with another language. But is that worth it?

See Questions On Quora

Continue reading...
 
Top