Ranking languages from high-level to low

  • Thread starter Ai52487963
  • Start date
  • Tags
    Ranking
In summary, the conversation discusses ranking programming languages from low-level to high-level and the difficulty of defining these levels. The languages Perl, Python, Java, C#, C++, and C are mentioned, with the question of where sed/awk/grep fall in the ranking. The conversation also touches on the idea of using compilers and interpreters as a way to determine a language's level, but notes that this is not a clear delineation. The concept of object-oriented programming is also mentioned as a factor in ranking languages. Ultimately, it is concluded that the distinction between levels is informal and that there is no clear hierarchy. The conversation also mentions a project idea to compare these languages based on their basic functionality and problem-solving capabilities.
  • #1
Ai52487963
115
0
How should I rank the following languages from low-level to high-level? Do I have the ranking right below?

----------high
Perl
Python
Java
C#
C++
C
----------low

Additionally, where do sed/awk/grep fall in line?

I'm interested in starting a project that goes through very basic functionality of those languages, starting with things like loops, graphing, etc. Then leading up to doing small example problems/programs then a few larger ones in all 6 of the languages to better show how they differ and which one may be better suited for whatever job.
 
Technology news on Phys.org
  • #2
There is no clear delineation between "levels" - the idea is informal.

I'd have put the first three on the same level, and the last also on their own level.
Languages that use compilers to make an executable are lower level than those that run in their own right under an interpreter.

Below that you have assembly, then machine code.

Note: Some people may put C# and C++ above plain C due to their support of object oriented stuff. It's a matter of the level of abstraction. Much as you may want to put Hex and DEC representations of machine code as higher than binary.
 

FAQ: Ranking languages from high-level to low

1. What is the criteria for ranking languages from high-level to low?

The criteria for ranking programming languages is subjective and can vary depending on the perspective of the individual or organization. Some commonly used criteria include the level of abstraction, ease of use, readability, expressiveness, and popularity.

2. How do high-level languages differ from low-level languages?

High-level languages are designed to be more user-friendly and abstract, making it easier for programmers to write code without worrying about the underlying hardware. Low-level languages, on the other hand, are closer to machine code and require more detailed knowledge of hardware to write efficient code.

3. Which languages are considered high-level and which are considered low-level?

The classification of a language as high-level or low-level is not always clear cut, as some languages may have elements of both. However, languages such as Python, Java, and C# are generally considered high-level, while languages like Assembly and machine code are considered low-level.

4. Is it better to use a high-level or low-level language?

The choice of language ultimately depends on the specific needs and goals of the project. High-level languages are often preferred for their ease of use and productivity, while low-level languages can offer more control and efficiency. It is important to consider the requirements and limitations of the project before choosing a language.

5. How does the ranking of languages affect job opportunities for programmers?

The popularity and demand for certain languages can certainly impact job opportunities for programmers. High-level languages like Java and Python are widely used in various industries, while knowledge of low-level languages like Assembly and C++ may be required for certain specialized roles. It is important for programmers to stay updated on industry trends and continuously develop their skills in order to remain competitive in the job market.

Back
Top