+ 2
What are the differences between low level language and high level language?
3 ответов
+ 4
Low level language have instructions close to that the microprosesor can interpret.
In the other hand, High level languages have syntax and semantics close to the everday language used to talk with people.
+ 1
Those are relative terms of course. Very low level is memory, then variables and scope, then you might say objects and classes, then actors, aspects, streams or higher kinded types. In another dimension, commands are lower level than declarative code.
+ 1
It all comes to abstraction. In high level languages you can create "concepts" (classes) with some attributes very easily. You can easily describe real world objects in a couple lines of code, whereas in low level languages you start telling the computer exactly what it needs to do to achieve that level of abstraction.
Example: I want to describe a car which has color and # of wheels attributes.
In hl languages you just create a class with various properties.
In ll languages you start by making space in memory for those attributes and so on.
There are also mid level languages, such as c++, which can control low level processing and also reach high levels of abstraction.