Just a brief explanation on what I pretend to do with C vs C++: unplugged.
Someone said once that it's best to code with the best of the two worlds, so lets figure out what is best in each world.
These tests are exclusively based on speed performance. For me, at the moment, doesn’t make any sense to test for size performance (C beats the hell out of C++). Coding performance is pointless (C++ beats the heck out of C…it was it’s purpose
). Learning curve is quite identical to match identical language functionality (Pointless to test).
This is not about determining if a language is better then the other. Both have it’s advantages and disadvantages. Both are great languages, but both are optimised differently. The point is, on some occasions is better to use one instead of the other.
Be aware that I’ll try to test for common usage of certain facilities of each language and not hard-core algorithms that are hard to code and unusually implemented that way. There’s always a better way to do things, but I’ll focus on common usage.
Some rules will be applied on posts. Posts will have to be constructive. New test cases will be welcome and implemented in due time (this is not a day job and I still have a life).
Hope this will help to clear what is better to code in C and what is better to code in C++.
Behave with each other
Respect













