Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why java is a middle level language.

 
Ashok Pradhan
Ranch Hand
Posts: 180
Eclipse IDE Firefox Browser Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not understand why java is not a high level language it is a middle level language.Someone please explain me the difference between Low level language,Middle Level language and High Level Language.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12146
30
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you don't understand what the difference is, then how do you know it's a 'middle level' language? WHO says so?

I have not heard these terms before, so I can't answer you question in any case.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34672
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ashok,
See this thread for why C is a "middle level language." The same reasons apply to Java.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49405
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At the risk of having to send myself to intermediate, does the same actually apply to Java as to C? Java does not (as C and C++ do) allow direct manipulation of pointers.

I though it was
  • 1st generation = machine code
  • 2nd generation = assembly mnemonics
  • 3rd generation = algebraic-like formulae
  • 4th generation = use instructions as functions, rather the way SQL does.
  •  
    Bill Shirley
    Ranch Hand
    Posts: 457
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    the programming language terms "low/middle/high level" and "generation" are mostly used by those who think their language is "better", higher, more evolved.

    they in a general way apply to when the main concepts associated with the language first arose as concepts in Computer Science, and as such are vaguely useful in determining the relative age of a language,

    ergo, Java is mid-level and 3GL because it's been around for a while, and things have come along since it was born - it's concepts not much different from C,C++,Objective-C (the latter crudely being the source of it's initial class library)

    In addition to Campbell's list of 4
  • 5th generation = constraint-based programming


  • From Wikipedia (which has reasonable coverage of basic computer science concepts):
    1GL / 2GL / 3GL / 4GL / 5GL

    [ May 30, 2008: Message edited by: Bill Shirley ]
    [ May 30, 2008: Message edited by: Bill Shirley ]
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic