+ 2

What are the differences between low level language and high level language?

22nd Apr 2017, 10:41 PM
para
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.
22nd Apr 2017, 11:00 PM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar
+ 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.
22nd Apr 2017, 10:59 PM
1of3
1of3 - avatar
+ 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.
22nd Apr 2017, 11:29 PM
Bebida Roja
Bebida Roja - avatar