Among several programming languages like C, Objective-C, C++, java, C#, ECMAScript/ JavaScript, ActionScript, Lua, Swift, Go, Erlang, Why C++?
Every language is good or is evolving to be good at what it was designed for! These are the advantages of using C++.
C++ is a mainstream language used for a wide range of purposes like embedded systems/ Operating Systems, server development, gaming, desktop/ mobile applications etc.
C++ is a high performance language. The code is directly compiled to a machine executable unlike coffee based languages which are executed by a runtime environment after bytecode interpretation and JIT compilation. say, CLR for .NET languages or JRE for Java. The scripting languages are interpreted by a runtime environment. say, a web browser interprets JavaScript. C++ is used for high performance and maintainable applications. It does not have garbage collection overhead and thus is faster than its counterpart. It can be integrated with other languages using SWIG, JNI, NaN, CLS (Common Language Specification in a managed environment) etc.
C++ is a multi paradigm language. OOP, Generic, object functional paradigm for scalable application development. C is a high performance language but does not support OOP and is used when scalability/ maintenance is not a priority like device driver development.
C++ is portable across various platforms! Various compilers like GCC, intel compiler, visual studio, Clang etc are available for different platforms to compile c++ code. Several platform abstraction libraries are available for interoperability. C++ needs to be compiled for every platform unlike coffee based languages (Java!).
Generic programming, OOP, programming idioms and other robust features like smart pointers, r-value references, lambda's etc introduced in C++11 and C++14 makes C++ more powerful and easy to use.
Every language is good or is evolving to be good at what it was designed for! These are the advantages of using C++.
C++ is a mainstream language used for a wide range of purposes like embedded systems/ Operating Systems, server development, gaming, desktop/ mobile applications etc.
C++ is a high performance language. The code is directly compiled to a machine executable unlike coffee based languages which are executed by a runtime environment after bytecode interpretation and JIT compilation. say, CLR for .NET languages or JRE for Java. The scripting languages are interpreted by a runtime environment. say, a web browser interprets JavaScript. C++ is used for high performance and maintainable applications. It does not have garbage collection overhead and thus is faster than its counterpart. It can be integrated with other languages using SWIG, JNI, NaN, CLS (Common Language Specification in a managed environment) etc.
C++ is a multi paradigm language. OOP, Generic, object functional paradigm for scalable application development. C is a high performance language but does not support OOP and is used when scalability/ maintenance is not a priority like device driver development.
C++ is portable across various platforms! Various compilers like GCC, intel compiler, visual studio, Clang etc are available for different platforms to compile c++ code. Several platform abstraction libraries are available for interoperability. C++ needs to be compiled for every platform unlike coffee based languages (Java!).
Generic programming, OOP, programming idioms and other robust features like smart pointers, r-value references, lambda's etc introduced in C++11 and C++14 makes C++ more powerful and easy to use.
No comments:
Post a Comment