answersLogoWhite

0

All languages are interesting to some degree or another. Programming languages in particular allow us humans to communicate with and ultimately control computers, bending them to our will. However, some languages are better than others for certain tasks. C++ is a general purpose, cross-platform, high-level language that can produce highly-efficient machine code (the native language of the computer). What makes it interesting is subjective -- each programmer will have their own likes and dislikes -- but ultimately the language gives a high-degree of control over the hardware, exploiting specific features of the architecture.

The same kind of thing can be achieved using Assembly Language (a low-level language), and in many ways would be regarded as a more interesting language than C++. But it is extremely difficult to work with. Even if you have access to a vast library of pre-written routines, you still require intimate knowledge of the underlying hardware and must write programs in minute detail. C++ can achieve similar results, but the abstraction between the hardware and the code you write is such that you needn't concern yourself with the hardware quite so much. That is, a single instruction in C++ can easily generate dozens of assembly instructions.

C++ becomes more interesting when compared to languages that don;t provide the level of control, such as Java. This is an entirely object-oriented programming language, with a higher-degree of abstraction (with little or no interaction with the underlying architecture). Rather than producing machine code, Java produces byte code which can be run on any platform that supports the Java Virtual Machine. As such, it is more portable as programs need only be compiled once to run on any platform whereas C++ code must be compiled separately for each platform, and must include code to filter out code that is irrelevant to the current platform. However, since Java programs must run in a virtual machine, they are very much slower than equivalent C++ programs.

C++ is also more interesting in that you aren't restricted to using object-oriented programming principals. You can choose to mix C++ code with C-style code (which is a structured language) and also raw assembly routines, thus making it far more flexible than Java, which is entirely object-oriented.

Although there's little you can't do in C++, that doesn't make it the best language in every situation. For instance, if you have a deadline to meet, C++ might be too complex a language to meet that deadline, thus forcing you to use a more abstract language designed specifically for rapid application development (RAD). For instance, it's often useful to model algorithms and design concepts using a RAD before committing yourself to a more lengthy software development in C++. The feedback from the RAD can, in fact, reduce the overall development cycle as the models can often be incorporated into the final design with only minimal or trivial modification.

However, C++ comes into its own when high-performance is the main criteria, and raw Assembly Language would be far too costly to implement in a reasonable time-frame. Modern compilers can optimise the machine code in much the same way an Assembly Language programmer exploits hardware features to produce highly-efficient code, but there's often room for further improvement. However, C++ is flexible enough to allow the programmer to make these adjustments by hand. And, for me, that's where things can get really interesting.

User Avatar

Wiki User

12y ago

What else can I help you with?

Continue Learning about Engineering

What are all the objects oriented programmes?

For a fairly exhaustive list, see the related link to this question. Popular languages are C++, Java, Objective-C, Visual Basic, and Ruby.


Why object oriented programming is popular than other programming language?

Not, I don't think OO languages are used more than the non-OO ones, if your "popularity" is based on the number of the developers.


How do you make an program in object oriented programming?

Object Oriented Programming is the technique to create programs based on the real world..object oriented programming model programs are organized around objects and data rather than actions and logic. In OOP based language the principal aim is to find out the objects to manipulate and their relation between each other.OOP offers greater flexibility and compatibility and is popular in developing larger application.


What is pure object oriented language?

Object-oriented (OO) applications can be written in either conventional languages or OOPLs, but they are much easier to write in languages especially designed for OO programming. OO language experts divide OOPLs into two categories, hybrid languages and pure OO languages. Hybrid languages are based on some non-OO model that has been enhanced with OO concepts. C++ (a superset of C), Ada 95, and CLOS (an object-enhanced version of LISP) are hybrid languages. Pure OO languages are based entirely on OO principles; Smalltalk, Eiffel, Java, and Simula are pure OO languages.Reference: Tokar, Joyce L. "Ada 95: The Language for the 90's and Beyond."" According to me JAVA is not a pure oop Language ,because java contains primitive datatypes that's not an Objects."SmalltalkEiffeljavaa programming language that includes all the oops concepts i,e object, class , inheritance,abstraction, encapsulation, data binding, and message passing is called a completely object oriented programming.. example:java.


How many programming languages are based on C?

C++, Java, Perl, Python, PHP, JavaScript, LPC, C# is the most popular languages based on C, but there is probably more languages.

Related Questions

How many languages have a dictionary?

It is estimated that there are around 7,000 languages spoken in the world, with varying levels of documentation and dictionaries available for each language. Some popular languages may have extensive dictionaries, while others may have limited resources available.


How many Jerry Spinellis books are in other languages?

Jerry Spinelli's books have been translated into multiple languages, with some of his popular works available in languages such as Spanish, French, German, and Italian. The number of his books available in other languages varies depending on the publisher and the demand for translations in different regions.


What are all the objects oriented programmes?

For a fairly exhaustive list, see the related link to this question. Popular languages are C++, Java, Objective-C, Visual Basic, and Ruby.


Why object oriented programming is popular than other programming language?

Not, I don't think OO languages are used more than the non-OO ones, if your "popularity" is based on the number of the developers.


What are the most popular languages in Africa?

Arabic


How do you make an program in object oriented programming?

Object Oriented Programming is the technique to create programs based on the real world..object oriented programming model programs are organized around objects and data rather than actions and logic. In OOP based language the principal aim is to find out the objects to manipulate and their relation between each other.OOP offers greater flexibility and compatibility and is popular in developing larger application.


What is pure object oriented language?

Object-oriented (OO) applications can be written in either conventional languages or OOPLs, but they are much easier to write in languages especially designed for OO programming. OO language experts divide OOPLs into two categories, hybrid languages and pure OO languages. Hybrid languages are based on some non-OO model that has been enhanced with OO concepts. C++ (a superset of C), Ada 95, and CLOS (an object-enhanced version of LISP) are hybrid languages. Pure OO languages are based entirely on OO principles; Smalltalk, Eiffel, Java, and Simula are pure OO languages.Reference: Tokar, Joyce L. "Ada 95: The Language for the 90's and Beyond."" According to me JAVA is not a pure oop Language ,because java contains primitive datatypes that's not an Objects."SmalltalkEiffeljavaa programming language that includes all the oops concepts i,e object, class , inheritance,abstraction, encapsulation, data binding, and message passing is called a completely object oriented programming.. example:java.


What are robotics languages?

The popular programming languages which are generally used to write a robotic program may be developed in c, c++, java etc.., these languages are more flexible when compare to the other languages.


What are the 2 most popular Chinese languages?

mandarin and cantonese


What kinds of floor mats are available for commercial businesses?

There are many different types of floor mats available for business. The most popular is a large, black mat that has a rubber bottom side for better grip. You can purchase these mats at any large, business oriented retailer, such as Sam's Club, or at your local hardware store.


Is stress on English in India threat for their mother tongue Hindi?

Although Hindi is spoken in India and is popular in some regions, there are many other languages spoken in India. Many people living in India learn multiple languages, and several languages popular in India continue to be used in India and elsewhere. Both within and outside India, many people elect to study the languages of India and preserve them. Even if adoption of English impacts adoption of other languages popular in India, none of India's most popular languages is yet at risk of being lost, and many continue to grow and change.


What are the 3 most popular languages?

The three most widely spoken languages are Chinese (all forms) English and Spanish. Popularity, is another aspect, however.