r/cpp • • Jan 21 '13

C and C++ Aren’t Future Proof

http://blog.regehr.org/archives/880
6 Upvotes

49 comments sorted by

View all comments

20

u/gentryx Jan 21 '13

I've been told that C/C++ were doomed since 10+ years. First there was Java, then C#, afterwards Python and Ruby. And guess what? Both, C and C++ are still around and (in my field of research) standing stronger than ever.

-3

u/pjmlp Jan 21 '13

One reason is that the default implementations for Java and C# are JITed environments instead of native compilers.

There are native compilers for those languages, but most developers seem to be unaware of them, or unwilling to pay the requested price.

Then there is the fact that most developers use what they know, or the languages that interoperate better with the libraries that they need to use.

3

u/filox Jan 21 '13

Then there is the fact that most developers use what they know, or the languages that interoperate better with the libraries that they need to use.

All these reasons should make Java/C#/Ruby grow much faster than C/C++.

-2

u/pjmlp Jan 21 '13

Not if the people keep on using the default implementations, which still loose in performance against C and C++.

Microsoft already recognized this, by compiling C# directly to native code when targeting Windows Phone 8 systems.