Language Primitive - High Level Language Primitives

High Level Language Primitives

A high-level programming language (HLL) program is composed of discrete statements and primitive data types that may also be perceived to perform a single operation or represent a single data item, but at a more abstract level than those provided by the machine. Copying a data item from one location to another may actually involve many machine instructions that, for instance,

  • calculate the address of both operands in memory, based on their positions within a data structure,
  • convert from one data type to another

before finally

  • performing the final store operation to the target destination.

Some HLL statements, particularly those involving loops, can generate thousands or even millions of primitives in a low level language - which comprise the genuine instruction path length the processor has to execute at the lowest level. This perception has been referred to as the "Abstraction penalty"

Read more about this topic:  Language Primitive

Famous quotes containing the words high, level and/or language:

    Crude men who feel themselves insulted tend to assess the degree of insult as high as possible, and talk about the offense in greatly exaggerated language, only so they can revel to their heart’s content in the aroused feelings of hatred and revenge.
    Friedrich Nietzsche (1844–1900)

    Children’s view of the world and their capacity to understand keep expanding as they mature, and they need to ask the same questions over and over, fitting the information into their new level of understanding.
    Joanna Cole (20th century)

    Repeat thy song, till the familiar lines
    Are footpaths for the thought of Italy!
    Thy flame is blown abroad from all the heights,
    Through all the nations, and a sound is heard,
    As of a mighty wind, and men devout,
    Strangers of Rome, and the new proselytes,
    In their own language hear thy wondrous word,
    And many are amazed and many doubt.
    Henry Wadsworth Longfellow (1809–1882)