Contents Introduction Names Variables The Concept of Binding Type Checking Strong Typing Type Equivalence Scope Scope and Lifetime Referencing Environments Named Constants Introduction


i.e. dynamically typed languages are often implement in interpretation, because the overhead of type checking is not the bottleneck



Download 396.24 Kb.
Page6/16
Date18.02.2022
Size396.24 Kb.
#58269
1   2   3   4   5   6   7   8   9   ...   16
13516098

i.e. dynamically typed languages are often implement in interpretation, because the overhead of type checking is not the bottleneck.

  • Type error detection by the compiler is difficult.

  • Dynamic Type Binding
    • When does the binding take place?
    • (How does one associate memory locations to variables? )

      • Allocation - getting a cell from some pool of available cells.
        • i.e. the process of binding a variable to a memory cell that is taken from a pool of available memory.
      • Deallocation - putting a cell back into the pool.
        • I.e. the process of unbinding a variable and placing its memory cell back in the pool of available memory.

    Download 396.24 Kb.

    Share with your friends:
    1   2   3   4   5   6   7   8   9   ...   16




    The database is protected by copyright ©ininet.org 2024
    send message

        Main page